nir: Use nir_shader::stage rather than passing it around.
[mesa.git] / src / glsl / nir / nir.h
index 308298a50853ea7e3ae4b0f286b36352b25432c1..40871f73e965278826f1f878e3d3f0c7129befe0 100644 (file)
@@ -1648,8 +1648,7 @@ void nir_lower_load_const_to_scalar(nir_shader *shader);
 void nir_lower_phis_to_scalar(nir_shader *shader);
 
 void nir_lower_samplers(nir_shader *shader,
-                        const struct gl_shader_program *shader_program,
-                        gl_shader_stage stage);
+                        const struct gl_shader_program *shader_program);
 
 void nir_lower_system_values(nir_shader *shader);
 void nir_lower_tex_projector(nir_shader *shader);