From ebb0de0847fbb97c635c5926590a5a287bde9b23 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marcin=20Ka=C5=84toch?= Date: Mon, 10 Oct 2022 21:08:01 +0200 Subject: [PATCH] device_fault tests should use getPhysicalDeviceFeatures2 dEQP-VK-experimental.postmortem.device_fault.custom_device is using getPhysicalDeviceFeatures to query VkPhysicalDeviceFaultFeaturesEXT. It therefore does not update the struct at all. It should use getPhysicalDeviceFeatures2 instead. Components: Vulkan VK-GL-CTS issue: 4029 Affected tests: dEQP-VK-experimental.postmortem.device_fault.custom_device Change-Id: Ia672c098e37d28e047a81e1aacee873633d58a4d --- .../modules/vulkan/postmortem/vktPostmortemDeviceFaultTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/vulkancts/modules/vulkan/postmortem/vktPostmortemDeviceFaultTests.cpp b/external/vulkancts/modules/vulkan/postmortem/vktPostmortemDeviceFaultTests.cpp index 839e3ed..4748202 100644 --- a/external/vulkancts/modules/vulkan/postmortem/vktPostmortemDeviceFaultTests.cpp +++ b/external/vulkancts/modules/vulkan/postmortem/vktPostmortemDeviceFaultTests.cpp @@ -156,7 +156,7 @@ public: &deviceFaultFeatures, // void* pNext; { /* zeroed automatically since c++11 */ } // VkPhysicalDeviceFeatures features; }; - instanceInterface.getPhysicalDeviceFeatures(physicalDevice, &deviceFeatures2.features); + instanceInterface.getPhysicalDeviceFeatures2(physicalDevice, &deviceFeatures2); const VkDeviceCreateInfo deviceCreateInfo { -- 2.7.4