anv: fix acceleration structure descriptor copies
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 7 Mar 2022 08:29:19 +0000 (10:29 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 11 Mar 2022 08:47:15 +0000 (08:47 +0000)
commit71cd6a7b84c44c3dc79f6916542a2ccc633d9766
treeed791b9598ddb5ee4011b8d477bcd62afc1e6743
parent968d68125c234bc347fde8fad543f0fc7d80d8b0
anv: fix acceleration structure descriptor copies

We're not supposed to have a
VkWriteDescriptorSetAccelerationStructureKHR when doing a copy. We
should instead get the acceleration structure object from the source
descriptor.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 03e1e19246da ("anv: Refactor descriptor copy")
Reviewed-by: Rohan Garg <rohan.garg@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15241>
src/intel/vulkan/anv_descriptor_set.c
src/intel/vulkan/anv_private.h