From 032c4425057aba086d86837928cd68a7884f2e14 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Fri, 13 Apr 2018 16:01:29 -0300 Subject: [PATCH] [GPU] Remove 1f in RCP instruction emitter on glsl decompiler --- Ryujinx.Graphics/Gal/Shader/GlslDecompiler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ryujinx.Graphics/Gal/Shader/GlslDecompiler.cs b/Ryujinx.Graphics/Gal/Shader/GlslDecompiler.cs index b7ed5341c4..7d97ec3342 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");