anv: move nir_shader_gather_info to anv_pipeline_nir_preprocess
authorMarcin Ślusarz <marcin.slusarz@intel.com>
Fri, 21 Apr 2023 10:51:47 +0000 (12:51 +0200)
committerMarge Bot <emma+marge@anholt.net>
Mon, 24 Apr 2023 08:43:51 +0000 (08:43 +0000)
commitaa45b13398547d7433479c91a5cf2ae904ef677e
tree3abebaf4b746de82e3476fa238270cfd351b51c2
parent3291050cc18c4bd1b5244ca4f79a4b928f74386c
anv: move nir_shader_gather_info to anv_pipeline_nir_preprocess

Fixes dEQP-VK.mesh_shader.ext.misc.custom_attributes*.

Fixes: 16c7c377186 ("anv: move preprocessing of NIR right before compilation")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22629>
src/intel/vulkan/anv_pipeline.c