Fix validation error after shader hot reloading #17

Open
opened 2026-06-07 06:04:23 +00:00 by lesley · 0 comments
Owner

Sample error:

vkDestroyPipeline(): can't be called on VkPipeline 0x470000000047 that is currently in use by VkCommandBuffer 0x579019fa7a10.
The Vulkan spec states: All submitted commands that refer to pipeline must have completed execution (https://vulkan.lunarg.com/doc/view/1.4.341.1/linux/antora/spec/latest/chapters/pipelines.html#VUID-vkDestroyPipeline-pipeline-00765)

Need to defer pipeline deletion to the deletion queue

Sample error: ``` vkDestroyPipeline(): can't be called on VkPipeline 0x470000000047 that is currently in use by VkCommandBuffer 0x579019fa7a10. The Vulkan spec states: All submitted commands that refer to pipeline must have completed execution (https://vulkan.lunarg.com/doc/view/1.4.341.1/linux/antora/spec/latest/chapters/pipelines.html#VUID-vkDestroyPipeline-pipeline-00765) ``` Need to defer pipeline deletion to the deletion queue
lesley added this to the Charlie3D project 2026-06-07 06:04:23 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lesley/Charlie3D#17
No description provided.