diff options
Diffstat (limited to 'src/compiler/nir/nir_lower_samplers.c')
-rw-r--r-- | src/compiler/nir/nir_lower_samplers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_lower_samplers.c b/src/compiler/nir/nir_lower_samplers.c index 43a97236c1..0de9eb88df 100644 --- a/src/compiler/nir/nir_lower_samplers.c +++ b/src/compiler/nir/nir_lower_samplers.c @@ -171,7 +171,7 @@ void nir_lower_samplers(nir_shader *shader, const struct gl_shader_program *shader_program) { - nir_foreach_function(shader, function) { + nir_foreach_function(function, shader) { if (function->impl) lower_impl(function->impl, shader_program, shader->stage); } |