aco: fix combining max(-min(a, b), c) if a or b uses the neg modifier

No fossils-db changes.

Cc: 20.2, 20.3
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
(cherry picked from commit 0fcd379184d658285f3313c5c4026253e0ec6930)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8014>
2 files changed