aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/Shader/Decoders/OpCodeIpa.cs
blob: e21095a32549a301714d63c6bf8db0a62faf2dfd (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 OpCodeIpa : OpCodeAluReg
    {
        public int AttributeOffset { get; }

        public OpCodeIpa(InstEmitter emitter, ulong address, long opCode) : base(emitter, address, opCode)
        {
            AttributeOffset = opCode.Extract(28, 10);
        }
    }
}