aco: fix imageSize()/textureSize() with large buffers on GFX8
authorRhys Perry <pendingchaos02@gmail.com>
Mon, 9 Dec 2019 18:00:55 +0000 (18:00 +0000)
committerRhys Perry <pendingchaos02@gmail.com>
Mon, 13 Jan 2020 13:25:32 +0000 (13:25 +0000)
commitfcd6d8324560b5897586cbf8161f9b46bff5d11f
tree722c5d63d7b9f7644328d6ec37cb7e418af54ef1
parent49bcd06f974dcd8f60b4aa7d93bf1843439126a2
aco: fix imageSize()/textureSize() with large buffers on GFX8

Tested on Navi by using dEQP-VK.image.image_size.buffer.* and the GFX8
path with the size multipled by the stride.
dEQP-VK.image.image_size.buffer.* was also run with the tests modified to
use a 96bit format.

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