This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit c3530d9a7059958d3c8a1ce67423e60b18f6cb97 Author: Lynne <[email protected]> AuthorDate: Tue Dec 23 19:08:04 2025 +0100 Commit: Lynne <[email protected]> CommitDate: Wed Dec 31 15:00:47 2025 +0100 vulkan: remove FFVkBuffer.stage and access Keeping global state for every buffer is unncessary and possibly suboptimal. --- libavutil/vulkan.c | 2 -- libavutil/vulkan.h | 4 ---- 2 files changed, 6 deletions(-) diff --git a/libavutil/vulkan.c b/libavutil/vulkan.c index d4ac1544d1..33d7e8aace 100644 --- a/libavutil/vulkan.c +++ b/libavutil/vulkan.c @@ -1309,8 +1309,6 @@ int ff_vk_get_pooled_buffer(FFVulkanContext *ctx, AVBufferPool **buf_pool, return AVERROR(ENOMEM); data = (FFVkBuffer *)ref->data; - data->stage = VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT; - data->access = VK_ACCESS_2_NONE; if (data->size >= size) return 0; diff --git a/libavutil/vulkan.h b/libavutil/vulkan.h index 115e9fc940..cde2876e46 100644 --- a/libavutil/vulkan.h +++ b/libavutil/vulkan.h @@ -91,10 +91,6 @@ typedef struct FFVkBuffer { size_t size; VkDeviceAddress address; - /* Local use only */ - VkPipelineStageFlags2 stage; - VkAccessFlags2 access; - /* Only valid when allocated via ff_vk_get_pooled_buffer with HOST_VISIBLE or * via ff_vk_host_map_buffer */ uint8_t *mapped_mem; _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
