diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2021-12-08 17:54:12 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-08 17:54:12 -0300 |
| commit | 650cc41c02e4b7305750e23f855cdc7ce533a1b2 (patch) | |
| tree | cd4f22a5a2e039a325c5c58ff95fa133ea57977f /Ryujinx.Graphics.Shader/Instructions/InstEmitFloatArithmetic.cs | |
| parent | a0aa87366c25611b1b0380e94d4edc8f9f2338e2 (diff) | |
Implement remaining shader double-precision instructions (#2845)
* Implement remaining shader double-precision instructions
* Shader cache version bump
Diffstat (limited to 'Ryujinx.Graphics.Shader/Instructions/InstEmitFloatArithmetic.cs')
| -rw-r--r-- | Ryujinx.Graphics.Shader/Instructions/InstEmitFloatArithmetic.cs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/Ryujinx.Graphics.Shader/Instructions/InstEmitFloatArithmetic.cs b/Ryujinx.Graphics.Shader/Instructions/InstEmitFloatArithmetic.cs index 2318f2b7..11d724c4 100644 --- a/Ryujinx.Graphics.Shader/Instructions/InstEmitFloatArithmetic.cs +++ b/Ryujinx.Graphics.Shader/Instructions/InstEmitFloatArithmetic.cs @@ -528,18 +528,5 @@ namespace Ryujinx.Graphics.Shader.Instructions context.Copy(GetDest(rd), GetHalfPacked(context, swizzle, res, rd)); } - - private static void SetDest(EmitterContext context, Operand value, int rd, bool isFP64) - { - if (isFP64) - { - context.Copy(GetDest(rd), context.UnpackDouble2x32Low(value)); - context.Copy(GetDest2(rd), context.UnpackDouble2x32High(value)); - } - else - { - context.Copy(GetDest(rd), value); - } - } } }
\ No newline at end of file |
