From 8a9d630e3bd04fdbfefd90f0ae7955ec4b08e309 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Wed, 6 Sep 2023 12:29:05 +1000 Subject: [PATCH] vkformat: FORMAT_FEATURE_COLOR_ATTACHMENT also includes INPUT_ATTACHMENT Part-of: --- subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkformat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkformat.c b/subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkformat.c index 7f59159ba6..72422571dc 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkformat.c +++ b/subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkformat.c @@ -528,7 +528,7 @@ _get_usage (guint64 feature) {VK_FORMAT_FEATURE_2_TRANSFER_DST_BIT_KHR, VK_IMAGE_USAGE_TRANSFER_DST_BIT}, {VK_FORMAT_FEATURE_2_STORAGE_IMAGE_BIT_KHR, VK_IMAGE_USAGE_STORAGE_BIT}, {VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BIT_KHR, - VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT}, + VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT}, #if GST_VULKAN_HAVE_VIDEO_EXTENSIONS {VK_FORMAT_FEATURE_2_VIDEO_DECODE_OUTPUT_BIT_KHR, VK_IMAGE_USAGE_VIDEO_DECODE_DST_BIT_KHR},