anv/apply_pipeline_layout: Run DCE between the early and late passes
authorJason Ekstrand <jason@jlekstrand.net>
Fri, 12 Mar 2021 20:04:38 +0000 (14:04 -0600)
committerMarge Bot <eric+marge@anholt.net>
Wed, 17 Mar 2021 17:49:59 +0000 (17:49 +0000)
commit2beba9dd5a2458203b8837233dc60a80cfc68904
tree898542789f0834d2adde537c48d8fb53257ece75
parenta7fe687bde150f2e21a3994083f8d9a9ee7d970e
anv/apply_pipeline_layout: Run DCE between the early and late passes

This allows us to ignore UBOs in the late code going forward.

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8635>
src/intel/vulkan/anv_nir_apply_pipeline_layout.c