2018-04-08 21:17:35 +02:00
|
|
|
namespace Ryujinx.Graphics.Gal.Shader
|
|
|
|
{
|
|
|
|
class ShaderIrOp : ShaderIrNode
|
|
|
|
{
|
|
|
|
public ShaderIrInst Inst { get; private set; }
|
|
|
|
public ShaderIrNode OperandA { get; set; }
|
|
|
|
public ShaderIrNode OperandB { get; set; }
|
|
|
|
public ShaderIrNode OperandC { get; set; }
|
2018-04-10 21:50:32 +02:00
|
|
|
public ShaderIrMeta MetaData { get; set; }
|
2018-04-08 21:17:35 +02:00
|
|
|
|
|
|
|
public ShaderIrOp(
|
|
|
|
ShaderIrInst Inst,
|
|
|
|
ShaderIrNode OperandA = null,
|
|
|
|
ShaderIrNode OperandB = null,
|
2018-04-10 21:50:32 +02:00
|
|
|
ShaderIrNode OperandC = null,
|
|
|
|
ShaderIrMeta MetaData = null)
|
2018-04-08 21:17:35 +02:00
|
|
|
{
|
|
|
|
this.Inst = Inst;
|
|
|
|
this.OperandA = OperandA;
|
|
|
|
this.OperandB = OperandB;
|
|
|
|
this.OperandC = OperandC;
|
2018-04-10 21:50:32 +02:00
|
|
|
this.MetaData = MetaData;
|
2018-04-08 21:17:35 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|