[trim] vkUpdateDescriptorSetTemplate path needs refinement #1419
Labels
enhancement
New feature or request
P1
Prevents an important capture from being replayed
trimming
Issue with trimming in capture or in replay
From issue #1375, a change was added to properly track and record the accelerator data if used in a call to
vkUpdateDescriptorSetTemplate
. This is done for now by writing out pNext data of an accelerator structure which matches the way the other descriptor set data is currently saved for this entrypoint.This entrypoint should properly record the tracking data without the pNext data hack to more closely reproduce the original intent of the capture.
You can reproduce this on Linux (although it happens on other platforms) using my fork of Sascha Willem's Vulkan examples. using the branch
marky_move_raytrace_reflect_to_desc_templates
. Building this will produce araytracingreflectionsdesctemplates
sample which can be recorded and trimmed and then replayed. Without the fix in #1375 it crashes, so when updating the source to properly fix this issue, run that sample and make sure a trimmed capture does not crash.The text was updated successfully, but these errors were encountered: