nir: Add options to nir_lower_compute_system_values to control compute ID base lowering
[mesa.git] / src / gallium / frontends / vallium / val_pipeline.c
index 779e2ecdc5f2f6cfea93a5daea135bc249600e26..fb0a88a051d49f38c70bb4a91a84407510acb31f 100644 (file)
@@ -562,7 +562,7 @@ val_shader_compile_to_ir(struct val_pipeline *pipeline,
    if (stage == MESA_SHADER_FRAGMENT)
       val_lower_input_attachments(nir, false);
    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_clip_cull_distance_arrays);
    nir_remove_dead_variables(nir, nir_var_uniform, NULL);