Fixed flags used to select queue in dEQP-VK.synchronization.op.multi_queue
authorPeter Quayle <peter.quayle@imgtec.com>
Wed, 9 Oct 2019 16:43:32 +0000 (17:43 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 11 Oct 2019 07:37:25 +0000 (03:37 -0400)
commitb928521b69a12744cc3e8da1363cb25f2e82028e
treefe0b127005837644222c48b5dd24345ffa3bed93
parent99fe41dcea5801eb41244a8ca151eba1cbc24303
Fixed flags used to select queue in dEQP-VK.synchronization.op.multi_queue

getDefaultQueue takes a VkQueueFlags argument and returns an appropriate VkQueue.
This function was being called with inappropriate arguments
causing the wrong queue to be returned. This could ultimately lead to work
being submitted to a queue which lacked support for it (e.g. graphics work
on a sparse queue).

Affects:

dEQP-VK.synchronization.op.multi_queue*

Components: Vulkan

VK-GL-CTS issue: 2043

Change-Id: I7887d1b4da8c916aed032433c6634c99b723f285
(cherry picked from commit 1bd32d3221dd65087de14ae061f798b78ac7ce0d)
external/vulkancts/modules/vulkan/synchronization/vktSynchronizationOperationMultiQueueTests.cpp