This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 4ec050211a285e710a2bd3b539d3434ebed3f71a Author: Kacper Michajłow <[email protected]> AuthorDate: Sat Jun 27 07:31:38 2026 +0200 Commit: Kacper Michajłow <[email protected]> CommitDate: Mon Aug 17 17:23:43 2026 +0200 avutil/hwcontext_vulkan: drop NVIDIA/MoltenVK host transfer blocklist Now that we correctly test if images are valid for host transfer, we can drop the hardcoded blocklist. The MoltenVK issue has been fixed upstream [1]. The NVIDIA issue has no upstream tracking reference, and current drivers show no problems with host image copy in libplacebo, which uses it in the same way. [1] https://github.com/KhronosGroup/MoltenVK/issues/2618 Signed-off-by: Kacper Michajłow <[email protected]> --- libavutil/hwcontext_vulkan.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c index 773fea56fe..668b3c53d9 100644 --- a/libavutil/hwcontext_vulkan.c +++ b/libavutil/hwcontext_vulkan.c @@ -3208,8 +3208,6 @@ static int vulkan_frames_init(AVHWFramesContext *hwfc) * layout transition cannot be synchronized against them, not even * by the frame lock and timeline semaphore. */ if (p->vkctx.extensions & FF_VK_EXT_HOST_IMAGE_COPY && - !(p->dprops.driverID == VK_DRIVER_ID_NVIDIA_PROPRIETARY) && - !(p->dprops.driverID == VK_DRIVER_ID_MOLTENVK) && !(hwctx->usage & VK_IMAGE_USAGE_VIDEO_DECODE_DPB_BIT_KHR)) hwctx->usage |= supported_usage & VK_IMAGE_USAGE_HOST_TRANSFER_BIT_EXT; @@ -4901,8 +4899,7 @@ static int vulkan_transfer_frame(AVHWFramesContext *hwfc, if (swf->width > hwfc->width || swf->height > hwfc->height) return AVERROR(EINVAL); - int host_copy = hwctx->usage & VK_IMAGE_USAGE_HOST_TRANSFER_BIT_EXT && - !(p->dprops.driverID == VK_DRIVER_ID_NVIDIA_PROPRIETARY); + int host_copy = hwctx->usage & VK_IMAGE_USAGE_HOST_TRANSFER_BIT_EXT; /* Host layout transitions may only originate from a host-copyable layout */ if (!upload && host_copy) { -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
