r/vulkan•
abocado21

Barrier in same command buffer?

I am currently writing a forward renderer and implemented a depth prepass for it. The depth prepass and hte main renderpass use two different renderpasses. I believe I need a barrier to ensure proper execution because thedepth prepass must be finished beforre the main renderpass, but I have read that this is unnecessary when both renderpasses are executed in the same command buffer? What is the correct way here?

Posted Apr 8, 2025, 9:21 PM UTC

63
Loading comments…