Răsfoiți Sursa

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

gdkchan 8 ani în urmă
părinte
comite
032c442505
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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");