Skip to content
Snippets Groups Projects
Commit e3542b35 authored by Erik Faye-Lund's avatar Erik Faye-Lund Committed by Marge Bot
Browse files

vulkan: allocate host-visible memory for swapchain images


The Vulkan 1.2 specification, section 11.2.12 ("Host Access to Device
Memory Objects") say the following:

> memory must have been created with a memory type that reports
> VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT

Since there's no guarantee that there's any memory that is *both*
device-local *and* host-visible, let's just use the latter requirement.

Fixes: 8af568e4 ("vulkan: implement wsi_win32 backend")
Reviewed-by: default avatarJason Ekstrand <jason@jlekstrand.net>
Part-of: <mesa/mesa!11848>
parent d0c7a210
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment