anv: Stop looking at the pipeline in multiview lowering
authorJason Ekstrand <jason.ekstrand@collabora.com>
Mon, 18 Jul 2022 16:06:41 +0000 (11:06 -0500)
committerMarge Bot <emma+marge@anholt.net>
Wed, 31 Aug 2022 02:00:18 +0000 (02:00 +0000)
commit30251aaca2f4dd2e80ce38183e20feaac97e52b0
tree7acf80dc7314b631a8ead27acfddd51a36147ade
parent4bdbc4c93f1a010ef2bea376994ee2c64ca1fb29
anv: Stop looking at the pipeline in multiview lowering

Passing all the data we need in directly avoids issues where we might
forget what is and isn't set on the pipeline object at the time the
shader call happens.  This will be especially important once we start
splitting things up for pipeline libraries.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17602>
src/intel/vulkan/anv_nir.h
src/intel/vulkan/anv_nir_lower_multiview.c
src/intel/vulkan/anv_pipeline.c