mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
vulkan/format: correct fallback features in from_video_info_2
The features were not actually used and were written into a boolean value. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5576>
This commit is contained in:
parent
f368d63ecd
commit
080b25cbfe
1 changed files with 2 additions and 1 deletions
|
@ -645,9 +645,10 @@ gst_vulkan_format_from_video_info_2 (GstVulkanPhysicalDevice * physical_device,
|
|||
/* XXX: VkFormatFeatureFlagBits and VkFormatFeatureFlagBits2 are the same
|
||||
* values for basic_flags' symbols and they are defined in
|
||||
* VK_VERSION_1_0 */
|
||||
basics_primary = basics_secondary = VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT
|
||||
feats_primary = feats_secondary = VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT
|
||||
| VK_FORMAT_FEATURE_TRANSFER_SRC_BIT
|
||||
| VK_FORMAT_FEATURE_TRANSFER_DST_BIT;
|
||||
basics_primary = basics_secondary = TRUE;
|
||||
}
|
||||
|
||||
if (GST_VIDEO_INFO_IS_RGB (info)) {
|
||||
|
|
Loading…
Reference in a new issue