gfx-rs / portability

Vulkan Portability Implementation
Mozilla Public License 2.0
384 stars 25 forks source link

Store mip_levels and array_layers for images #73

Closed Skepfyr closed 6 years ago

Skepfyr commented 6 years ago

Vulkan allows users to not specify the upper bound in SubresourceRange and SubresourceLayers, this stores the values when the image is created in order to fill in these values if they are not specified. It also adds an expect function to Image and Buffer to allow simpler retrieval of a bound image.

bors[bot] commented 6 years ago

Build succeeded