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: 03e1e19246 ("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>
This commit is contained in:
Lionel Landwerlin
2022-03-07 10:29:19 +02:00
committed by Marge Bot
parent 968d68125c
commit 71cd6a7b84
2 changed files with 7 additions and 6 deletions

View File

@@ -1921,6 +1921,8 @@ struct anv_descriptor {
};
struct anv_buffer_view *buffer_view;
struct anv_acceleration_structure *accel_struct;
};
};