vello/piet-gpu-hal
Rose Hudson 1bdd2a7c86 Vulkan: account for no limit on image count
when clamping image count within device bounds, some devices can report
max_image_count = 0 to indicate no limit on image count. this triggers
assertion in clamp because max < min.

therefore if the device reports zero we treat it as `u32::MAX`

see https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSurfaceCapabilitiesKHR.html
2021-10-27 10:45:28 +01:00
..
examples API reorg 2021-05-29 21:11:02 -07:00
src Vulkan: account for no limit on image count 2021-10-27 10:45:28 +01:00
Cargo.toml Implement more of the API 2021-05-27 14:55:40 -07:00