(cherry picked from commit 4a42e5a1e2991036e5ae5b3906c31c5f530dd764)
Unified · Split
| @@ -2908,7 +2908,7 @@ static int vulkan_frames_init(AVHWFramesContext *hwfc) · 2907 unmodified lines | |||
| 2908 | if (p->dev_is_nvidia && | 2908 | if (p->dev_is_nvidia && |
| 2909 | (((fmt->nb_images == 1) && (fmt->vk_planes > 1)) || | 2909 | (((fmt->nb_images == 1) && (fmt->vk_planes > 1)) || |
| 2910 | (av_pix_fmt_desc_get(hwfc->sw_format)->nb_components == 1))) | 2910 | (av_pix_fmt_desc_get(hwfc->sw_format)->nb_components == 1))) |
| 2911 | supported_usage &= ~VK_IMAGE_USAGE_HOST_TRANSFER_BIT; | 2911 | supported_usage &= ~VK_IMAGE_USAGE_HOST_TRANSFER_BIT_EXT; |
| 2912 | 2912 | ||
| 2913 | /* Image usage flags */ | 2913 | /* Image usage flags */ |
| 2914 | if (!hwctx->usage) { | 2914 | if (!hwctx->usage) { |