Skip to content
Snippets Groups Projects
Commit fd630afd authored by Erik Faye-Lund's avatar Erik Faye-Lund Committed by Eric Engestrom
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>
(cherry picked from commit e3542b35)
parent 211ffe02
No related branches found
No related tags found
No related merge requests found
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