mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
vkdevice: add the necessary but arbitrary queue priority
Silences an error in the validation layers.
This commit is contained in:
parent
49430569da
commit
1cca847b2a
1 changed files with 2 additions and 0 deletions
|
@ -281,11 +281,13 @@ gst_vulkan_device_open (GstVulkanDevice * device, GError ** error)
|
|||
{
|
||||
VkDeviceQueueCreateInfo queue_info = { 0, };
|
||||
VkDeviceCreateInfo device_info = { 0, };
|
||||
gfloat queue_priority = 0.5;
|
||||
|
||||
queue_info.sType = VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO;
|
||||
queue_info.pNext = NULL;
|
||||
queue_info.queueFamilyIndex = device->queue_family_id;
|
||||
queue_info.queueCount = device->n_queues;
|
||||
queue_info.pQueuePriorities = &queue_priority;
|
||||
|
||||
device_info.sType = VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO;
|
||||
device_info.pNext = NULL;
|
||||
|
|
Loading…
Reference in a new issue