Overv / VulkanTutorial

Tutorial for the Vulkan graphics and compute API
https://vulkan-tutorial.com
Creative Commons Attribution Share Alike 4.0 International
3.2k stars 527 forks source link

Fix depth buffer reuse sync #345

Closed krOoze closed 1 year ago

krOoze commented 1 year ago

fix #308

Depth Attachment VK_ATTACHMENT_STORE_OP_DONT_CARE happens in VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT+VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT. Alter code to that effect with the assumption this was the intended previous resource access to synchronize against.

Overv commented 1 year ago

Thanks for the fix