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