diff options
Diffstat (limited to 'src/glsl/nir/nir_lower_idiv.c')
-rw-r--r-- | src/glsl/nir/nir_lower_idiv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/glsl/nir/nir_lower_idiv.c b/src/glsl/nir/nir_lower_idiv.c index f64b3eac8a0..a084ad9c0e5 100644 --- a/src/glsl/nir/nir_lower_idiv.c +++ b/src/glsl/nir/nir_lower_idiv.c @@ -144,8 +144,8 @@ convert_impl(nir_function_impl *impl) void nir_lower_idiv(nir_shader *shader) { - nir_foreach_overload(shader, overload) { - if (overload->impl) - convert_impl(overload->impl); + nir_foreach_function(shader, function) { + if (function->impl) + convert_impl(function->impl); } } |