Commit cc76e834 authored by Kacper Michajłow's avatar Kacper Michajłow Committed by Martin Storsjö

lavu/vulkan: fix handle type for 32-bit targets

Fixes compilation with clang which errors out on Wint-conversion.
Signed-off-by: 's avatarKacper Michajłow <kasper93@gmail.com>
Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent f9620d74
......@@ -1149,7 +1149,7 @@ static void free_exec_ctx(AVHWFramesContext *hwfc, VulkanExecCtx *cmd)
av_freep(&cmd->queues);
av_freep(&cmd->bufs);
cmd->pool = NULL;
cmd->pool = VK_NULL_HANDLE;
}
static VkCommandBuffer get_buf_exec_ctx(AVHWFramesContext *hwfc, VulkanExecCtx *cmd)
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment