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:

committed by
Marge Bot

parent
968d68125c
commit
71cd6a7b84
@@ -1921,6 +1921,8 @@ struct anv_descriptor {
|
||||
};
|
||||
|
||||
struct anv_buffer_view *buffer_view;
|
||||
|
||||
struct anv_acceleration_structure *accel_struct;
|
||||
};
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user