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(
|
2019-03-03 17:45:25 -08:00
|
|
|
ShaderIrInst inst,
|
|
|
|
ShaderIrNode operandA = null,
|
|
|
|
ShaderIrNode operandB = null,
|
|
|
|
ShaderIrNode operandC = null,
|
|
|
|
ShaderIrMeta metaData = null)
|
2018-04-08 12:17:35 -07:00
|
|
|
{
|
2019-03-03 17:45:25 -08:00
|
|
|
Inst = inst;
|
|
|
|
OperandA = operandA;
|
|
|
|
OperandB = operandB;
|
|
|
|
OperandC = operandC;
|
|
|
|
MetaData = metaData;
|
2018-04-08 12:17:35 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|