aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/vulkan.h
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2023-03-02 17:27:30 +0100
committerMartin Storsjö <martin@martin.st>2023-03-10 12:36:16 +0200
commit58f18df430d48e47a82c5e740d6e63a50c97d75f (patch)
tree86a739ce5d9922e8083c2414f949a9f1392cbbd6 /libavutil/vulkan.h
parent1cf17633cd5d1fa97268618abb2e082ba16348a0 (diff)
downloadffmpeg-58f18df430d48e47a82c5e740d6e63a50c97d75f.tar.gz
lavu/vulkan: fix handle type for 32-bit targets
Fixes compilation with clang which errors out on Wint-conversion. Signed-off-by: Kacper Michajłow <kasper93@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st> (cherry picked from commit cc76e8340d28438c1ac56ee7dfd774d25e944264) Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavutil/vulkan.h')
-rw-r--r--libavutil/vulkan.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/vulkan.h b/libavutil/vulkan.h
index d1ea1e24fb..90922c6cf3 100644
--- a/libavutil/vulkan.h
+++ b/libavutil/vulkan.h
@@ -122,7 +122,11 @@ typedef struct FFVulkanPipeline {
VkDescriptorSetLayout *desc_layout;
VkDescriptorPool desc_pool;
VkDescriptorSet *desc_set;
+#if VK_USE_64_BIT_PTR_DEFINES == 1
void **desc_staging;
+#else
+ uint64_t *desc_staging;
+#endif
VkDescriptorSetLayoutBinding **desc_binding;
VkDescriptorUpdateTemplate *desc_template;
int *desc_set_initialized;