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