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

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

Open 5quinque opened 7 months ago

5quinque commented 7 months ago

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 commented 6 months ago

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?