early-access version 3709

This commit is contained in:
pineappleEA
2023-06-26 22:11:43 +02:00
parent 47d3d8f0dd
commit c9635ec98a
33 changed files with 242 additions and 135 deletions

View File

@@ -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],";