mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-18 06:19:58 +00:00
emit_glasm: Fix lmem size computation
This commit is contained in:
parent
82107b33a2
commit
b198339580
1 changed files with 1 additions and 1 deletions
|
@ -461,7 +461,7 @@ std::string EmitGLASM(const Profile& profile, const RuntimeInfo& runtime_info, I
|
||||||
header += fmt::format("R{},", index);
|
header += fmt::format("R{},", index);
|
||||||
}
|
}
|
||||||
if (program.local_memory_size > 0) {
|
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) {
|
if (program.info.uses_fswzadd) {
|
||||||
header += "FSWZA[4],FSWZB[4],";
|
header += "FSWZA[4],FSWZB[4],";
|
||||||
|
|
Loading…
Reference in a new issue