mirror of
https://github.com/librempeg/librempeg
synced 2024-11-22 00:51:37 +00:00
vulkan: make sure descriptor buffers are always DEVICE_LOCAL
Implementations are required to list memory heaps in the most optimal order. But its better to be explicit for this particular allocation. Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
2b07151f99
commit
4d17787437
@ -1580,6 +1580,7 @@ int ff_vk_exec_pipeline_register(FFVulkanContext *s, FFVkExecPool *pool,
|
||||
|
||||
err = ff_vk_create_buf(s, &set->buf, set->aligned_size*nb,
|
||||
NULL, NULL, set->usage,
|
||||
VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT |
|
||||
VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT |
|
||||
VK_MEMORY_PROPERTY_HOST_COHERENT_BIT);
|
||||
if (err < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user