Explorar o código

[GPU] Remove 1f in RCP instruction emitter on glsl decompiler

gdkchan %!s(int64=8) %!d(string=hai) anos
pai
achega
032c442505
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Ryujinx.Graphics/Gal/Shader/GlslDecompiler.cs

+ 1 - 1
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");