radv: Move nir_opt_shrink_vectors() into the opt loop.
authorEric Anholt <eric@anholt.net>
Wed, 19 Aug 2020 16:16:15 +0000 (09:16 -0700)
committerMarge Bot <eric+marge@anholt.net>
Thu, 20 Aug 2020 16:44:08 +0000 (16:44 +0000)
commitb3c822a0a8665ae84452208e94006f7df802f196
treecf5b04b6e7e5c986fc8e8323c110b71a9a4be53d
parent94f4ecba8dd8611133b94154a28b6e85cc9903de
radv: Move nir_opt_shrink_vectors() into the opt loop.

Upcoming changes to opt_undef will result in this pass doing more work and
generating vector MOVs that need re-scalarizing (which is inside of the
main opt loop).

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