radv: use lower_shuffle_to_swizzle_amd
authorRhys Perry <pendingchaos02@gmail.com>
Tue, 23 Jun 2020 16:38:37 +0000 (17:38 +0100)
committerMarge Bot <eric+marge@anholt.net>
Mon, 13 Jul 2020 14:11:50 +0000 (14:11 +0000)
commitec9920e72b0161642eccb0a2506eccc5b2c99a92
tree82d0a27c2f0b000edcb6d96a4b70ee6eb2ba12e8
parent7ba645d5cb3974d90db0dc7f78d935c7be29448d
radv: use lower_shuffle_to_swizzle_amd

Affects a few shaders in Detroit: Become Human and Doom Eternal.

fossil-db (Navi):
Totals from 9 (0.01% of 135946) affected shaders:
CodeSize: 31188 -> 25096 (-19.53%)
Instrs: 6136 -> 4999 (-18.53%)

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5695>
src/amd/vulkan/radv_shader.c