nv2a/vk: Specify local_size_{y,z} = 1 in compute shader

This commit is contained in:
Matt Borgerson 2024-07-28 23:59:32 -07:00 committed by mborgerson
parent dc5a220486
commit 64e8046d1f
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ static gchar *get_compute_shader_glsl(VkFormat host_fmt, bool pack,
gchar *glsl = g_strdup_printf(
"#version 450\n"
"layout(local_size_x = %d) in;\n"
"layout(local_size_x = %d, local_size_y = 1, local_size_z = 1) in;\n"
"%s", workgroup_size, template);
assert(glsl);