diff --git a/src/gallium/drivers/vc4/vc4_program.c b/src/gallium/drivers/vc4/vc4_program.c index 8bffb1d3840..ef472536966 100644 --- a/src/gallium/drivers/vc4/vc4_program.c +++ b/src/gallium/drivers/vc4/vc4_program.c @@ -2191,6 +2191,8 @@ static const nir_shader_compiler_options nir_options = { .lower_negate = true, .lower_rotate = true, .lower_to_scalar = true, + .lower_umax = true, + .lower_umin = true, .max_unroll_iterations = 32, };