2018-04-08 21:17:35 +02: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 21:50:32 +02:00
|
|
|
public ShaderIrMeta MetaData { get; set; }
|
2018-04-08 21:17:35 +02:00
|
|
|
|
|
|
|
public ShaderIrOp(
|
2019-03-04 02:45:25 +01:00
|
|
|
ShaderIrInst inst,
|
|
|
|
ShaderIrNode operandA = null,
|
|
|
|
ShaderIrNode operandB = null,
|
|
|
|
ShaderIrNode operandC = null,
|
|
|
|
ShaderIrMeta metaData = null)
|
2018-04-08 21:17:35 +02:00
|
|
|
{
|
2019-03-04 02:45:25 +01:00
|
|
|
Inst = inst;
|
|
|
|
OperandA = operandA;
|
|
|
|
OperandB = operandB;
|
|
|
|
OperandC = operandC;
|
|
|
|
MetaData = metaData;
|
2018-04-08 21:17:35 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|