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