2018-04-08 12:17:35 -07: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 12:50:32 -07:00
|
|
|
public ShaderIrMeta MetaData { get; set; }
|
2018-04-08 12:17:35 -07:00
|
|
|
|
|
|
|
public ShaderIrOp(
|
|
|
|
ShaderIrInst Inst,
|
|
|
|
ShaderIrNode OperandA = null,
|
|
|
|
ShaderIrNode OperandB = null,
|
2018-04-10 12:50:32 -07:00
|
|
|
ShaderIrNode OperandC = null,
|
|
|
|
ShaderIrMeta MetaData = null)
|
2018-04-08 12:17:35 -07:00
|
|
|
{
|
|
|
|
this.Inst = Inst;
|
|
|
|
this.OperandA = OperandA;
|
|
|
|
this.OperandB = OperandB;
|
|
|
|
this.OperandC = OperandC;
|
2018-04-10 12:50:32 -07:00
|
|
|
this.MetaData = MetaData;
|
2018-04-08 12:17:35 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|