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