aco: Fix combining DS additions in the optimizer.
authorTimur Kristóf <timur.kristof@gmail.com>
Mon, 9 Mar 2020 16:07:41 +0000 (17:07 +0100)
committerMarge Bot <eric+marge@anholt.net>
Wed, 11 Mar 2020 08:34:10 +0000 (08:34 +0000)
commit655c050119719e185ae41bdafb1e62d71ccc3069
treeac486c65c7ff687fb3d6ae8c83ca774a8c8c297b
parentc70b0d0267234716e94aeaf0e585f27c8a8e21fc
aco: Fix combining DS additions in the optimizer.

Previously, it was calculated incorrectly for 64-bit writes and reads.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3964>
src/amd/compiler/aco_optimizer.cpp