aco: preserve more fields when combining additions into SMEM
authorRhys Perry <pendingchaos02@gmail.com>
Thu, 30 Apr 2020 15:10:42 +0000 (16:10 +0100)
committerMarge Bot <eric+marge@anholt.net>
Thu, 28 May 2020 10:34:03 +0000 (10:34 +0000)
commite1900ee2c70c15dea56027c21676174704f12348
tree010e113e7a8d9759b285b6f5675adfb7bd51b9ae
parent95d5c1b8a1ebe4a2ce47206b9ff0af4fbfd5a31a
aco: preserve more fields when combining additions into SMEM

Totals from 11 (0.01% of 127638) affected shaders:

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Fixes: 93c8ebfa780 ('aco: Initial commit of independent AMD compiler')
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4880>
src/amd/compiler/aco_optimizer.cpp