summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/backend/glasm/emit_glasm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/shader_recompiler/backend/glasm/emit_glasm.cpp')
-rw-r--r--src/shader_recompiler/backend/glasm/emit_glasm.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shader_recompiler/backend/glasm/emit_glasm.cpp b/src/shader_recompiler/backend/glasm/emit_glasm.cpp
index 775dd9e7e..0b70bf3f6 100644
--- a/src/shader_recompiler/backend/glasm/emit_glasm.cpp
+++ b/src/shader_recompiler/backend/glasm/emit_glasm.cpp
@@ -306,6 +306,9 @@ std::string EmitGLASM(const Profile&, IR::Program& program, Bindings&) {
306 for (size_t index = 0; index < ctx.reg_alloc.NumUsedRegisters(); ++index) { 306 for (size_t index = 0; index < ctx.reg_alloc.NumUsedRegisters(); ++index) {
307 header += fmt::format("R{},", index); 307 header += fmt::format("R{},", index);
308 } 308 }
309 if (program.local_memory_size > 0) {
310 header += fmt::format("lmem[{}],", program.local_memory_size);
311 }
309 header += "RC;" 312 header += "RC;"
310 "LONG TEMP "; 313 "LONG TEMP ";
311 for (size_t index = 0; index < ctx.reg_alloc.NumUsedLongRegisters(); ++index) { 314 for (size_t index = 0; index < ctx.reg_alloc.NumUsedLongRegisters(); ++index) {