VulkanTutorial
VulkanTutorial copied to clipboard
update logic in `transitionImageLayout` to use the right subresource aspect
Based of this comment: https://vulkan-tutorial.com/Depth_buffering#comment-6139270631
The updated subresource aspect definition is missing that is given in the code block in this section.
I'm not sure if you do this, it also makes sense to include the transitionImageLayout call in the createDepthResources function? And the other suggested changes under this subheader?