nir: Add options to nir_lower_compute_system_values to control compute ID base lowering
[mesa.git] / src / freedreno / vulkan / tu_shader.c
index aca5ea02f71dfb1e9963d8425c7b73470a114fad..afdb7c7de748ea9b6b842ab7deca04d7f0e7adf6 100644 (file)
@@ -765,7 +765,7 @@ tu_shader_create(struct tu_device *dev,
    nir_assign_io_var_locations(nir, nir_var_shader_out, &nir->num_outputs, stage);
 
    NIR_PASS_V(nir, nir_lower_system_values);
-   NIR_PASS_V(nir, nir_lower_compute_system_values);
+   NIR_PASS_V(nir, nir_lower_compute_system_values, NULL);
 
    NIR_PASS_V(nir, nir_lower_frexp);