radv: use radv_optimize_nir() less in radv_link_shaders()
authorRhys Perry <pendingchaos02@gmail.com>
Mon, 21 Sep 2020 14:56:40 +0000 (15:56 +0100)
committerMarge Bot <eric+marge@anholt.net>
Fri, 9 Oct 2020 15:48:00 +0000 (15:48 +0000)
commit8e981453ed68a793fd36472ff491706f0829a0a5
treef2da64d45627ce0a73ad64892c0993a4a64dcaa5
parent55254f241fe13b86ea5e19a185b2f053f2e1e2b4
radv: use radv_optimize_nir() less in radv_link_shaders()

fossil-db (Navi):
Totals from 11 (0.01% of 137413) affected shaders:
CodeSize: 99372 -> 99480 (+0.11%)
Instrs: 19119 -> 19110 (-0.05%)
Cycles: 222144 -> 222000 (-0.06%)

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6891>
src/amd/vulkan/radv_pipeline.c
src/amd/vulkan/radv_shader.c