mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-31 13:30:42 +01:00
Some drivers need to know the full list of formats that can be used when VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT or VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT is set (dozen needs that at least). While VkImageFormatListCreateInfo is a nice way to get the actual of formats the user intends to use at view creation time, this paramter is optional, and when it's missing, we need to know the full list of compatible formats if we want things to work properly. Provide a helper that hides all the complexity and return a format list even when VkImageFormatListCreateInfo is missing. Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17339> |
||
|---|---|---|
| .. | ||
| device-select-layer | ||
| overlay-layer | ||
| registry | ||
| runtime | ||
| util | ||
| wsi | ||
| meson.build | ||
| vulkan-icd-symbols.txt | ||
| vulkan_api.def.in | ||