aco: improve clamped integer addition disassembly workaround
authorRhys Perry <pendingchaos02@gmail.com>
Mon, 27 Apr 2020 20:16:15 +0000 (21:16 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 28 Apr 2020 23:16:55 +0000 (23:16 +0000)
commitc5eda3c746b6d6152279d8687cf7885c38a76e93
tree28ac3e83ba8393340e742a5483b8d1f129b84738
parent4ed83e2f947123e83f0cd1196454403b763c68da
aco: improve clamped integer addition disassembly workaround

Make it work with 16-bit and GFX10.

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/4772>
src/amd/compiler/aco_print_asm.cpp