aco: remove zero offset optimization
authorRhys Perry <pendingchaos02@gmail.com>
Fri, 29 Sep 2023 15:35:20 +0000 (16:35 +0100)
committerMarge Bot <emma+marge@anholt.net>
Mon, 2 Oct 2023 10:11:37 +0000 (10:11 +0000)
commit558738e3c5465dacd17c6d0da1ee0ff60b19983e
treee640e9aa62f1c56b5ec7c6a2c6ec0cc1728e7ac4
parent7139a789596ea59698ad4d01a9401266f2da2e52
aco: remove zero offset optimization

This is done in nir_opt_constant_folding now.

No fossil-db changes on navi31.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25477>
src/amd/compiler/aco_instruction_selection.cpp