radv: enable ac_nir_lower_resinfo for ACO
authorRhys Perry <pendingchaos02@gmail.com>
Fri, 5 Aug 2022 12:50:59 +0000 (13:50 +0100)
committerMarge Bot <emma+marge@anholt.net>
Tue, 30 Aug 2022 07:37:08 +0000 (07:37 +0000)
commit52b781760d92db64259b9ed8f10bc4d05cacba1f
treec4b40803b33b3fcdac0e160b02a066ff678f059f
parent797150c144ef24bed0d6dc8adbc22a27965193c4
radv: enable ac_nir_lower_resinfo for ACO

fossil-db (navi21):
Totals from 4022 (2.98% of 134913) affected shaders:
VGPRs: 207824 -> 205264 (-1.23%); split: -1.25%, +0.02%
CodeSize: 18486240 -> 18778488 (+1.58%); split: -0.00%, +1.58%
MaxWaves: 84398 -> 84882 (+0.57%)
Instrs: 3408968 -> 3470936 (+1.82%); split: -0.00%, +1.82%
Latency: 43493420 -> 43168394 (-0.75%); split: -1.57%, +0.82%
InvThroughput: 6911341 -> 6816816 (-1.37%); split: -1.41%, +0.05%
VClause: 88256 -> 82728 (-6.26%); split: -6.31%, +0.04%
SClause: 130061 -> 131526 (+1.13%); split: -0.39%, +1.51%
Copies: 219849 -> 238548 (+8.51%); split: -0.05%, +8.56%
Branches: 79168 -> 79174 (+0.01%); split: -0.00%, +0.01%
PreSGPRs: 180683 -> 184952 (+2.36%); split: -0.17%, +2.53%
PreVGPRs: 179716 -> 178956 (-0.42%)

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17991>
src/amd/vulkan/radv_nir_apply_pipeline_layout.c
src/amd/vulkan/radv_nir_lower_ycbcr_textures.c
src/amd/vulkan/radv_pipeline.c