aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2018-04-13 16:01:29 -0300
committergdkchan <gab.dark.100@gmail.com>2018-04-13 16:01:29 -0300
commit032c4425057aba086d86837928cd68a7884f2e14 (patch)
treebca562ece40a6d464f0d8cdfa2e76af7111d7e28
parent8ab76a7bd4b8abd1b1097abe8dab88f3af6de933 (diff)
[GPU] Remove 1f in RCP instruction emitter on glsl decompiler
-rw-r--r--Ryujinx.Graphics/Gal/Shader/GlslDecompiler.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Graphics/Gal/Shader/GlslDecompiler.cs b/Ryujinx.Graphics/Gal/Shader/GlslDecompiler.cs
index b7ed5341..7d97ec33 100644
--- a/Ryujinx.Graphics/Gal/Shader/GlslDecompiler.cs
+++ b/Ryujinx.Graphics/Gal/Shader/GlslDecompiler.cs
@@ -500,7 +500,7 @@ namespace Ryujinx.Graphics.Gal.Shader
private string GetFnegExpr(ShaderIrOp Op) => GetUnaryExpr(Op, "-");
- private string GetFrcpExpr(ShaderIrOp Op) => GetUnaryExpr(Op, "1f / ");
+ private string GetFrcpExpr(ShaderIrOp Op) => GetUnaryExpr(Op, "1 / ");
private string GetFrsqExpr(ShaderIrOp Op) => GetUnaryCall(Op, "inversesqrt");