aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLynne <dev@lynne.ee>2024-11-23 19:03:01 +0100
committerLynne <dev@lynne.ee>2024-11-26 14:14:14 +0100
commit8ac49ae9e0fab632e5b1a7428e9f911d4a258873 (patch)
treee50fedfdcff7cf4a3e68c308e22461e2c084e03b
parentd48542023725c5ad319bfbfa169954a42de4500f (diff)
downloadffmpeg-8ac49ae9e0fab632e5b1a7428e9f911d4a258873.tar.gz
vulkan: add opaque field to execution contexts
Helps keep track of what dispatch happened where.
-rw-r--r--libavutil/vulkan.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavutil/vulkan.h b/libavutil/vulkan.h
index 9b46a279ca..ec20d1ef56 100644
--- a/libavutil/vulkan.h
+++ b/libavutil/vulkan.h
@@ -121,6 +121,9 @@ typedef struct FFVkExecContext {
/* Fence for the command buffer */
VkFence fence;
+ /* Opaque data, untouched, free to use by users */
+ void *opaque;
+
void *query_data;
int query_idx;