mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2025-02-20 14:18:27 -06:00

* Implement DADD, DFMA and DMUL shader instructions * Rename FP to FP32 * Correct double immediate * Classic mistake
14 lines
400 B
C#
14 lines
400 B
C#
using Ryujinx.Graphics.Shader.Instructions;
|
|
|
|
namespace Ryujinx.Graphics.Shader.Decoders
|
|
{
|
|
class OpCodeDArithImm : OpCodeFArith, IOpCodeImmF
|
|
{
|
|
public float Immediate { get; }
|
|
|
|
public OpCodeDArithImm(InstEmitter emitter, ulong address, long opCode) : base(emitter, address, opCode)
|
|
{
|
|
Immediate = DecoderHelper.DecodeD20Immediate(opCode);
|
|
}
|
|
}
|
|
} |