diff --git a/.pick_status.json b/.pick_status.json index 0d642859000..57809707fbd 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -5908,7 +5908,7 @@ "description": "vc4: Enable lower_umax and lower_umin", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "master_sha": null, "because_sha": "8e1b75b330954a2e40e8ed0c04871e43120d4f4a" }, diff --git a/src/gallium/drivers/vc4/vc4_program.c b/src/gallium/drivers/vc4/vc4_program.c index 9c89ef6843f..d59651b4a31 100644 --- a/src/gallium/drivers/vc4/vc4_program.c +++ b/src/gallium/drivers/vc4/vc4_program.c @@ -2190,6 +2190,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, };