Precise Float Fixes

Fixes artifacts in TOTK
This commit is contained in:
Isaac Marovitz
2024-08-01 15:51:06 +01:00
committed by Evan Husted
parent 6f24b88e88
commit 2e5ae70b91
12 changed files with 52 additions and 5 deletions

View File

@@ -122,6 +122,11 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Msl
AppendHelperFunction(context, "Ryujinx.Graphics.Shader/CodeGen/Msl/HelperFunctions/SwizzleAdd.metal");
}
if ((info.HelperFunctionsMask & HelperFunctionsMask.Precise) != 0)
{
AppendHelperFunction(context, "Ryujinx.Graphics.Shader/CodeGen/Msl/HelperFunctions/Precise.metal");
}
return sets;
}