mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-27 13:54:16 +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;
|
info.access = VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT;
|
||||||
|
|
||||||
return device->createBuffer(info,
|
return device->createBuffer(info,
|
||||||
|
VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT |
|
||||||
VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT |
|
VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT |
|
||||||
VK_MEMORY_PROPERTY_HOST_COHERENT_BIT);
|
VK_MEMORY_PROPERTY_HOST_COHERENT_BIT);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user