ash
ash copied to clipboard
examples: Fix sync validation errors
Simplify the fence usage to avoid errors with synchronization.
Closes #917
I had to remove the fence wait in record_submit_commandbuffer.
While inspecting the code I found that calling record_submit_commandbuffer is not safe, as there is a plethora of things that are not checked that could violate that valid usage (See for example https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkQueueSubmit.html#_description).
Superseded by #1009