From e2aa542384a330a985da3635e230e5c977eb9f53 Mon Sep 17 00:00:00 2001 From: James Fitzpatrick Date: Mon, 14 Nov 2022 09:51:50 +0000 Subject: [PATCH] Enable VK_*_global_priority before using it A number of tests were testing functionality from VK_EXT_global_priority and VK_KHR_global_priority without first enabling the extension. Affects: dEQP-VK.api.device_init.create_device_global_priority* Components: vulkan VK-GL-CTS issue: 4107 Change-Id: Ib6fc36a8602f544b945fad2f5bfec3c2f8bcd72c --- .../vulkancts/modules/vulkan/api/vktApiDeviceInitializationTests.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/external/vulkancts/modules/vulkan/api/vktApiDeviceInitializationTests.cpp b/external/vulkancts/modules/vulkan/api/vktApiDeviceInitializationTests.cpp index aa002ef..896f7e3 100644 --- a/external/vulkancts/modules/vulkan/api/vktApiDeviceInitializationTests.cpp +++ b/external/vulkancts/modules/vulkan/api/vktApiDeviceInitializationTests.cpp @@ -964,8 +964,8 @@ tcu::TestStatus createDeviceWithGlobalPriorityTest (Context& context, bool useKh &queueCreateInfo, //pRequestedQueues; 0, //layerCount; DE_NULL, //ppEnabledLayerNames; - 0, //extensionCount; - DE_NULL, //ppEnabledExtensionNames; + (deUint32)enabledExtensions.size(), //extensionCount; + enabledExtensions.data(), //ppEnabledExtensionNames; DE_NULL, //pEnabledFeatures; }; -- 2.7.4