anv: don't try to access dynamic buffers from surface states
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 20 Jul 2023 13:43:08 +0000 (16:43 +0300)
committerMarge Bot <emma+marge@anholt.net>
Mon, 14 Aug 2023 07:27:16 +0000 (07:27 +0000)
commit7ec12b537a4b3852828c2e16b53bafde828bf6e4
treeba8180c392dfd2f10ecdf733d8776328f084c713
parent3e72539dc2a77be52f2bd57f34da43ea144d6ed6
anv: don't try to access dynamic buffers from surface states

Even with direct descriptors, our current implementation works by
doing A64 messages to read/write dynamic buffers. This is so that we
can apply the sliding range view of the descriptor while having
robustness support.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 06dfd216d3 ("anv: add direct descriptor support to apply_layout")
Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24256>
src/intel/vulkan/anv_nir_apply_pipeline_layout.c