From 25140499fc0dee547d255955590f02741b6fe528 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Tue, 21 Mar 2023 21:25:52 +0100 Subject: [PATCH] vkdevice: enable features from physical device Part-of: --- subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkdevice.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkdevice.c b/subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkdevice.c index 1d7c86659e..ffd1563075 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkdevice.c +++ b/subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkdevice.c @@ -24,6 +24,7 @@ #include "gstvkdevice.h" #include "gstvkdebug.h" +#include "gstvkphysicaldevice-private.h" #include @@ -317,7 +318,8 @@ gst_vulkan_device_open (GstVulkanDevice * device, GError ** error) queue_info.pQueuePriorities = &queue_priority; device_info.sType = VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO; - device_info.pNext = NULL; + device_info.pNext = + gst_vulkan_physical_device_get_features (device->physical_device); device_info.queueCreateInfoCount = 1; device_info.pQueueCreateInfos = &queue_info; device_info.enabledLayerCount = priv->enabled_layers->len;