From 790c8be91b3e8d19f4546a7227d9edc35f72eae8 Mon Sep 17 00:00:00 2001 From: Isaac Marovitz Date: Fri, 21 Mar 2025 14:33:22 -0400 Subject: [PATCH] Fix UNROLL macro Signed-off-by: Isaac Marovitz --- XenosRecomp/shader_recompiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/XenosRecomp/shader_recompiler.cpp b/XenosRecomp/shader_recompiler.cpp index 5f7564a..70e1fc9 100644 --- a/XenosRecomp/shader_recompiler.cpp +++ b/XenosRecomp/shader_recompiler.cpp @@ -1503,7 +1503,7 @@ void ShaderRecompiler::recompile(const uint8_t* shaderData, const std::string_vi out += "\tfloat4x4 mtxProjection = float4x4(g_MtxProjection(0), g_MtxProjection(1), g_MtxProjection(2), g_MtxProjection(3));\n"; out += "\tfloat4x4 mtxProjectionReverseZ = mul(mtxProjection, float4x4(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, -1, 0, 0, 0, 1, 1));\n"; - out += "\t[unroll] for (int iterationIndex = 0; iterationIndex < 2; iterationIndex++)\n"; + out += "\tUNROLL for (int iterationIndex = 0; iterationIndex < 2; iterationIndex++)\n"; out += "\t{\n"; } #endif