nir: Take a nir_shader and variable mode in assign_var_locations
[mesa.git] / src / compiler / nir / nir.h
index 7c04a773fbc4bfbb62595eaa1ec3da47a6d64317..280f441665377f42ca5a1ec6f160660e204b002d 100644 (file)
@@ -3982,7 +3982,8 @@ void nir_gather_ssa_types(nir_function_impl *impl,
                           BITSET_WORD *float_types,
                           BITSET_WORD *int_types);
 
-void nir_assign_var_locations(struct exec_list *var_list, unsigned *size,
+void nir_assign_var_locations(nir_shader *shader, nir_variable_mode mode,
+                              unsigned *size,
                               int (*type_size)(const struct glsl_type *, bool));
 
 /* Some helpers to do very simple linking */