aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/Shader/Decoders/OpCodeFArithImm.cs
blob: 1bb6f425523dcffe3f1baefacaa7e8e17a6a4372 (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 OpCodeFArithImm : OpCodeFArith, IOpCodeImmF
    {
        public float Immediate { get; }

        public OpCodeFArithImm(InstEmitter emitter, ulong address, long opCode) : base(emitter, address, opCode)
        {
            Immediate = DecoderHelper.DecodeF20Immediate(opCode);
        }
    }
}