mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-26 13:26:30 -05:00
gl_shader_decompiler: Add missing {} on smem GLSL emission
This commit is contained in:
parent
825d629565
commit
3a10016e38
1 changed files with 1 additions and 1 deletions
|
@ -554,7 +554,7 @@ private:
|
||||||
}
|
}
|
||||||
const auto& info = registry.GetComputeInfo();
|
const auto& info = registry.GetComputeInfo();
|
||||||
if (const u32 size = info.shared_memory_size_in_words; size > 0) {
|
if (const u32 size = info.shared_memory_size_in_words; size > 0) {
|
||||||
code.AddLine("shared uint smem[];", size);
|
code.AddLine("shared uint smem[{}];", size);
|
||||||
code.AddNewLine();
|
code.AddNewLine();
|
||||||
}
|
}
|
||||||
code.AddLine("layout (local_size_x = {}, local_size_y = {}, local_size_z = {}) in;",
|
code.AddLine("layout (local_size_x = {}, local_size_y = {}, local_size_z = {}) in;",
|
||||||
|
|
Loading…
Reference in a new issue