From 8ac49ae9e0fab632e5b1a7428e9f911d4a258873 Mon Sep 17 00:00:00 2001 From: Lynne Date: Sat, 23 Nov 2024 19:03:01 +0100 Subject: [PATCH] vulkan: add opaque field to execution contexts Helps keep track of what dispatch happened where. --- libavutil/vulkan.h | 3 +++ 1 file changed, 3 insertions(+) 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;