ffmpeg | branch: master | Lynne <d...@lynne.ee> | Tue Aug 13 19:03:43 2024 +0200| [d138d7a595b7ff3aa1808ad36e5695a5546b12ec] | committer: Lynne
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. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d138d7a595b7ff3aa1808ad36e5695a5546b12ec --- libavutil/vulkan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavutil/vulkan.c b/libavutil/vulkan.c index 4e275bc7af..bb8e7ae786 100644 --- a/libavutil/vulkan.c +++ b/libavutil/vulkan.c @@ -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) _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".