aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Shader/StructuredIr/AstTextureOperation.cs
blob: 7261b9ff1fd920da83b6eb3c932f30d8f09d46e7 (plain)
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 SamplerType  Type  { get; }
        public TextureFlags Flags { get; }

        public int Handle { get; }

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