VulkanTutorial icon indicating copy to clipboard operation
VulkanTutorial copied to clipboard

update logic in `transitionImageLayout` to use the right subresource aspect

Open 5quinque opened this issue 1 year ago • 1 comments

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.

5quinque avatar Dec 06 '23 00:12 5quinque

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?

5quinque avatar Dec 06 '23 16:12 5quinque