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