From 650cc41c02e4b7305750e23f855cdc7ce533a1b2 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Wed, 8 Dec 2021 17:54:12 -0300 Subject: Implement remaining shader double-precision instructions (#2845) * Implement remaining shader double-precision instructions * Shader cache version bump --- Ryujinx.Graphics.Shader/CodeGen/Glsl/NumberFormatter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Ryujinx.Graphics.Shader/CodeGen/Glsl/NumberFormatter.cs') 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); } -- cgit v1.2.3