nir: use enum operator helper for nir_variable_mode and nir_metadata
[mesa.git] / src / amd / vulkan / radv_meta_fmask_expand.c
index 8f229a8188b7054b6da6389234c65defaeaaa122..3a109110c951725d738aed6af3075dc6ddc536d9 100644 (file)
@@ -58,7 +58,7 @@ build_fmask_expand_compute_shader(struct radv_device *device, int samples)
        output_img->data.access = ACCESS_NON_READABLE;
 
        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],