Overv / VulkanTutorial

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

Fix depth buffer reuse sync #345

Closed krOoze closed 11 months ago

krOoze commented 12 months 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 11 months ago

Thanks for the fix