aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/Gal/Shader/ShaderIrOp.cs
blob: 12a6123c31ffcb7c5c2ae884386741fb27916a9d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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; }
        public ShaderIrMeta MetaData { get; set; }

        public ShaderIrOp(
            ShaderIrInst Inst,
            ShaderIrNode OperandA = null,
            ShaderIrNode OperandB = null,
            ShaderIrNode OperandC = null,
            ShaderIrMeta MetaData = null)
        {
            this.Inst     = Inst;
            this.OperandA = OperandA;
            this.OperandB = OperandB;
            this.OperandC = OperandC;
            this.MetaData = MetaData;
        }
    }
}