aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Shader/Decoders/OpCodeTextureBase.cs
blob: 0da1ca765144fc974a2d3ba6b8ff41ab95cd09df (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
using Ryujinx.Graphics.Shader.Instructions;

namespace Ryujinx.Graphics.Shader.Decoders
{
    class OpCodeTextureBase : OpCode
    {
        public int HandleOffset { get; }

        public OpCodeTextureBase(InstEmitter emitter, ulong address, long opCode) : base(emitter, address, opCode)
        {
            HandleOffset = opCode.Extract(36, 13);
        }
    }
}