vblanco20-1 / vulkan-guide

Introductory guide to vulkan.
https://vkguide.dev/
MIT License
940 stars 213 forks source link

update imageview subresource access mask #25

Closed David-DiGioia closed 3 years ago

David-DiGioia commented 3 years ago

The spec states about VkImageSubresouceRange

aspectMask must not be 0

The last parameter in vkinit::imageview_create_info populates VkImageSubresouceRange::aspectMask in the create info of the image view.