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/CodeGen/Glsl/NumberFormatter.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/CodeGen/Glsl/NumberFormatter.cs')
| -rw-r--r-- | Ryujinx.Graphics.Shader/CodeGen/Glsl/NumberFormatter.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.Shader/CodeGen/Glsl/NumberFormatter.cs b/Ryujinx.Graphics.Shader/CodeGen/Glsl/NumberFormatter.cs index 6d43ed0e..2ec44277 100644 --- a/Ryujinx.Graphics.Shader/CodeGen/Glsl/NumberFormatter.cs +++ b/Ryujinx.Graphics.Shader/CodeGen/Glsl/NumberFormatter.cs @@ -10,7 +10,7 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Glsl public static bool TryFormat(int value, VariableType dstType, out string formatted) { - if (dstType == VariableType.F32 || dstType == VariableType.F64) + if (dstType == VariableType.F32) { return TryFormatFloat(BitConverter.Int32BitsToSingle(value), out formatted); } |
