mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-11-29 10:24:10 +01:00
[hud] Allocate vertex buffer in host-visible device memory if possible
This commit is contained in:
parent
c6fb8fa5e8
commit
566fb84abd
@ -323,6 +323,7 @@ namespace dxvk::hud {
|
||||
info.access = VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT;
|
||||
|
||||
return device->createBuffer(info,
|
||||
VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT |
|
||||
VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT |
|
||||
VK_MEMORY_PROPERTY_HOST_COHERENT_BIT);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user