radv: call radv_nir_lower_ycbcr_textures after first optimizations
authorDaniel Schürmann <daniel@schuermann.dev>
Sun, 26 Jul 2020 11:22:12 +0000 (13:22 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 27 Jul 2020 10:03:20 +0000 (10:03 +0000)
commitaf0bc71015905f14f07abeb216499adc792e1b10
treeae6b4fac1a15795bd47ac6b3ecf4c905c7f9d74f
parentfffc287d447089292d279c04ec999c673ea9103a
radv: call radv_nir_lower_ycbcr_textures after first optimizations

There might still be tex instructions with undef texture/sampler before
the first round of optimizations. No pipelinedb changes.

Fixes: 14a12b771d0a380defacafe5825362af77ff21bd ('spirv: Rework our handling of images and samplers')
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6083>
src/amd/vulkan/radv_shader.c