mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-24 03:02:19 +00:00
[GPU] Remove 1f in RCP instruction emitter on glsl decompiler
This commit is contained in:
parent
8ab76a7bd4
commit
032c442505
1 changed files with 1 additions and 1 deletions
|
@ -500,7 +500,7 @@ namespace Ryujinx.Graphics.Gal.Shader
|
||||||
|
|
||||||
private string GetFnegExpr(ShaderIrOp Op) => GetUnaryExpr(Op, "-");
|
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");
|
private string GetFrsqExpr(ShaderIrOp Op) => GetUnaryCall(Op, "inversesqrt");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue