mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 08:42:39 +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.
This commit is contained in:
parent
9e3b5b8a26
commit
d138d7a595
@ -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