aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/Shader/StructuredIr/AstTextureOperation.cs
blob: e40f7b70eb16ffb212d1c07119de849998e78f04 (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
using Ryujinx.Graphics.Shader.IntermediateRepresentation;

namespace Ryujinx.Graphics.Shader.StructuredIr
{
    class AstTextureOperation : AstOperation
    {
        public TextureType  Type  { get; }
        public TextureFlags Flags { get; }

        public int Handle { get; }

        public AstTextureOperation(
            Instruction       inst,
            TextureType       type,
            TextureFlags      flags,
            int               handle,
            int               compMask,
            params IAstNode[] sources) : base(inst, compMask, sources)
        {
            Type   = type;
            Flags  = flags;
            Handle = handle;
        }
    }
}