nir: Take a shader and variable mode in nir_assign_io_var_locations
[mesa.git] / src / compiler / nir / nir.h
index 280f441665377f42ca5a1ec6f160660e204b002d..dca19596632f4b65256e28aa8b2ea6e2b230f094 100644 (file)
@@ -3999,7 +3999,8 @@ bool nir_link_opt_varyings(nir_shader *producer, nir_shader *consumer);
 bool nir_lower_amul(nir_shader *shader,
                     int (*type_size)(const struct glsl_type *, bool));
 
-void nir_assign_io_var_locations(struct exec_list *var_list,
+void nir_assign_io_var_locations(nir_shader *shader,
+                                 nir_variable_mode mode,
                                  unsigned *size,
                                  gl_shader_stage stage);