Vulkan
Vulkan copied to clipboard
Question on Multisampling and Subpass dependencies
Hello,
I just wanted to ask why do we need to actually have a resolve depth image? Since we do not show the image to the user and all rendering to the depth buffer go into the multisampled depth image why would we need a seperate resolve depth image? In this tutorial here: https://vulkan-tutorial.com/Multisampling only a resolve color image is created.
Also for the layout transition, is the second subpass dependency nessesary? Or could we just transition the image layout directly after depth image creation and then dont need to do a transition every frame? It is done like this in this tutorial here: https://vulkan-tutorial.com/Depth_buffering
Thanks!