From 6dc7f65a398ce8a8626cf3b0371d82a615b728ea Mon Sep 17 00:00:00 2001 From: Caio Oliveira Date: Thu, 20 Jun 2024 20:01:20 -0700 Subject: [PATCH] anv: Use brw_nir_lower_cs_intrinsics for lowering Mesh/Task LocalID Stop using the option in the generic pass nir_lower_compute_system_values and use the same code as brw uses for compute instead. Reviewed-by: Kenneth Graunke Part-of: --- src/intel/vulkan/anv_pipeline.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c index 1e5fd0318be..42206ded7eb 100644 --- a/src/intel/vulkan/anv_pipeline.c +++ b/src/intel/vulkan/anv_pipeline.c @@ -1017,7 +1017,6 @@ anv_pipeline_lower_nir(struct anv_pipeline *pipeline, if (nir->info.stage == MESA_SHADER_MESH || nir->info.stage == MESA_SHADER_TASK) { nir_lower_compute_system_values_options options = { - .lower_cs_local_id_to_index = true, .lower_workgroup_id_to_index = true, /* nir_lower_idiv generates expensive code */ .shortcut_1d_workgroup_id = compiler->devinfo->verx10 >= 125,