nir: Switch the arguments to nir_foreach_function
This matches the "foreach x in container" pattern found in many other programming languages. Generated by the following regular expression: s/nir_foreach_function(\([^,]*\),\s*\([^,]*\))/nir_foreach_function(\2, \1)/ Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
@@ -392,7 +392,7 @@ nir_lower_tex(nir_shader *shader, const nir_lower_tex_options *options)
|
||||
state.options = options;
|
||||
state.progress = false;
|
||||
|
||||
nir_foreach_function(shader, function) {
|
||||
nir_foreach_function(function, shader) {
|
||||
if (function->impl)
|
||||
nir_lower_tex_impl(function->impl, &state);
|
||||
}
|
||||
|
Reference in New Issue
Block a user