mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 06:40:08 +01:00
vulkan/wsi: Pass wsi_image_create_info into anv_GetPhysicalDeviceImageFormatProperties2
Signed-off-by: Oleksii Bozhenko <oleksii.bozhenko@globallogic.com> Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18347>
This commit is contained in:
parent
54876512a1
commit
949edb7ffa
1 changed files with 6 additions and 0 deletions
|
|
@ -392,6 +392,12 @@ wsi_configure_native_image(const struct wsi_swapchain *chain,
|
|||
__vk_append_struct(&format_info, &format_list);
|
||||
}
|
||||
|
||||
struct wsi_image_create_info wsi_info = (struct wsi_image_create_info) {
|
||||
.sType = VK_STRUCTURE_TYPE_WSI_IMAGE_CREATE_INFO_MESA,
|
||||
.pNext = NULL,
|
||||
};
|
||||
__vk_append_struct(&format_info, &wsi_info);
|
||||
|
||||
VkImageFormatProperties2 format_props = {
|
||||
.sType = VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2,
|
||||
.pNext = NULL,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue