summaryrefslogtreecommitdiff
path: root/libavutil/vulkan.h
diff options
context:
space:
mode:
authorLynne <dev@lynne.ee>2022-11-23 14:03:34 +0100
committerLynne <dev@lynne.ee>2023-05-29 00:41:44 +0200
commit3c2f43d8eef0c181a002cb87f1c65b1c419ba1e4 (patch)
tree043b2b9e8b4e1913861338c107f13406ac69f88b /libavutil/vulkan.h
parentfa67ccee3735c400bb0f93d56140a93e249b5ddd (diff)
vulkan: expose ff_vk_alloc_mem()
Diffstat (limited to 'libavutil/vulkan.h')
-rw-r--r--libavutil/vulkan.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavutil/vulkan.h b/libavutil/vulkan.h
index a0baba7fc8..85836a7807 100644
--- a/libavutil/vulkan.h
+++ b/libavutil/vulkan.h
@@ -259,6 +259,13 @@ const char *ff_vk_shader_rep_fmt(enum AVPixelFormat pixfmt);
void ff_vk_qf_fill(FFVulkanContext *s);
/**
+ * Allocate device memory.
+ */
+int ff_vk_alloc_mem(FFVulkanContext *s, VkMemoryRequirements *req,
+ VkMemoryPropertyFlagBits req_flags, void *alloc_extension,
+ VkMemoryPropertyFlagBits *mem_flags, VkDeviceMemory *mem);
+
+/**
* Initialize a queue family with a specific number of queues.
* If nb_queues == 0, use however many queues the queue family has.
*/