nir: Add new system values and intrinsics for dealing with CL work offsets
[mesa.git] / src / amd / vulkan / radv_meta_fast_clear.c
index bf9ed047c35623d236020c214d702220e7b88356..f4596888a12ee5c0a667340a02f1c22cae9274b3 100644 (file)
@@ -58,7 +58,7 @@ build_dcc_decompress_compute_shader(struct radv_device *dev)
        output_img->data.binding = 1;
 
        nir_ssa_def *invoc_id = nir_load_local_invocation_id(&b);
-       nir_ssa_def *wg_id = nir_load_work_group_id(&b);
+       nir_ssa_def *wg_id = nir_load_work_group_id(&b, 32);
        nir_ssa_def *block_size = nir_imm_ivec4(&b,
                                                b.shader->info.cs.local_size[0],
                                                b.shader->info.cs.local_size[1],