mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[hud] Allocate vertex buffer in host-visible device memory if possible
This commit is contained in:
parent
c6fb8fa5e8
commit
566fb84abd
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue