aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/Shader/Decoders/OpCodeFArithImm32.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics/Shader/Decoders/OpCodeFArithImm32.cs')
-rw-r--r--Ryujinx.Graphics/Shader/Decoders/OpCodeFArithImm32.cs30
1 files changed, 0 insertions, 30 deletions
diff --git a/Ryujinx.Graphics/Shader/Decoders/OpCodeFArithImm32.cs b/Ryujinx.Graphics/Shader/Decoders/OpCodeFArithImm32.cs
deleted file mode 100644
index ec9da6f3..00000000
--- a/Ryujinx.Graphics/Shader/Decoders/OpCodeFArithImm32.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-using Ryujinx.Graphics.Shader.Instructions;
-using System;
-
-namespace Ryujinx.Graphics.Shader.Decoders
-{
- class OpCodeFArithImm32 : OpCodeAlu, IOpCodeFArith, IOpCodeImmF
- {
- public RoundingMode RoundingMode => RoundingMode.ToNearest;
-
- public FmulScale Scale => FmulScale.None;
-
- public bool FlushToZero { get; }
- public bool AbsoluteA { get; }
-
- public float Immediate { get; }
-
- public OpCodeFArithImm32(InstEmitter emitter, ulong address, long opCode) : base(emitter, address, opCode)
- {
- int imm = opCode.Extract(20, 32);
-
- Immediate = BitConverter.Int32BitsToSingle(imm);
-
- SetCondCode = opCode.Extract(52);
- AbsoluteA = opCode.Extract(54);
- FlushToZero = opCode.Extract(55);
-
- Saturate = false;
- }
- }
-} \ No newline at end of file