mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
vkformat: FORMAT_FEATURE_COLOR_ATTACHMENT also includes INPUT_ATTACHMENT
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5288>
This commit is contained in:
parent
6c534655d4
commit
8a9d630e3b
1 changed files with 1 additions and 1 deletions
|
@ -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_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_STORAGE_IMAGE_BIT_KHR, VK_IMAGE_USAGE_STORAGE_BIT},
|
||||||
{VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BIT_KHR,
|
{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
|
#if GST_VULKAN_HAVE_VIDEO_EXTENSIONS
|
||||||
{VK_FORMAT_FEATURE_2_VIDEO_DECODE_OUTPUT_BIT_KHR,
|
{VK_FORMAT_FEATURE_2_VIDEO_DECODE_OUTPUT_BIT_KHR,
|
||||||
VK_IMAGE_USAGE_VIDEO_DECODE_DST_BIT_KHR},
|
VK_IMAGE_USAGE_VIDEO_DECODE_DST_BIT_KHR},
|
||||||
|
|
Loading…
Reference in a new issue