diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2023-06-26 00:43:52 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2023-06-26 00:43:52 +0200 |
commit | b198339580f1a54c4c670eb58593eb64e2ef945c (patch) | |
tree | f0c17442798f6f19dad728f1128556b800084d85 /src/shader_recompiler/backend | |
parent | OpenGL: Add Local Memory warmup shader (diff) | |
download | yuzu-b198339580f1a54c4c670eb58593eb64e2ef945c.tar yuzu-b198339580f1a54c4c670eb58593eb64e2ef945c.tar.gz yuzu-b198339580f1a54c4c670eb58593eb64e2ef945c.tar.bz2 yuzu-b198339580f1a54c4c670eb58593eb64e2ef945c.tar.lz yuzu-b198339580f1a54c4c670eb58593eb64e2ef945c.tar.xz yuzu-b198339580f1a54c4c670eb58593eb64e2ef945c.tar.zst yuzu-b198339580f1a54c4c670eb58593eb64e2ef945c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/shader_recompiler/backend/glasm/emit_glasm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/backend/glasm/emit_glasm.cpp b/src/shader_recompiler/backend/glasm/emit_glasm.cpp index fd4a61a4d..b795c0179 100644 --- a/src/shader_recompiler/backend/glasm/emit_glasm.cpp +++ b/src/shader_recompiler/backend/glasm/emit_glasm.cpp @@ -461,7 +461,7 @@ std::string EmitGLASM(const Profile& profile, const RuntimeInfo& runtime_info, I header += fmt::format("R{},", index); } if (program.local_memory_size > 0) { - header += fmt::format("lmem[{}],", program.local_memory_size); + header += fmt::format("lmem[{}],", Common::DivCeil(program.local_memory_size, 4U)); } if (program.info.uses_fswzadd) { header += "FSWZA[4],FSWZB[4],"; |