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