From 71bbfa85d25fad23437bdbc070c3223949c49f94 Mon Sep 17 00:00:00 2001 From: Piers Daniell Date: Thu, 28 Sep 2017 12:55:23 -0600 Subject: [PATCH] Fix sType used with VkExternalImageFormatPropertiesKHR The sType used in the VkExternalImageFormatPropertiesKHR struct was VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO_KHR which is wrong and should have been VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES_KHR. Using the wrong sType means implementations ignored the unexpected sType in the chain. Affects: dEQP-VK.synchronization.win32_keyed_mutex.* Change-Id: I3f16b6fcd66740685f742be8e1318c32fcf87d7e Components: Vulkan (cherry picked from commit 09c5420239eefe0c3555a4fb15ab3c879d707081) --- .../vulkan/synchronization/vktSynchronizationWin32KeyedMutexTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/vulkancts/modules/vulkan/synchronization/vktSynchronizationWin32KeyedMutexTests.cpp b/external/vulkancts/modules/vulkan/synchronization/vktSynchronizationWin32KeyedMutexTests.cpp index 0bea193..6ed61af 100644 --- a/external/vulkancts/modules/vulkan/synchronization/vktSynchronizationWin32KeyedMutexTests.cpp +++ b/external/vulkancts/modules/vulkan/synchronization/vktSynchronizationWin32KeyedMutexTests.cpp @@ -1475,7 +1475,7 @@ Win32KeyedMutexTestInstance::Win32KeyedMutexTestInstance (Context& context, }; vk::VkExternalImageFormatProperties externalProperties = { - vk::VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO, + vk::VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES, DE_NULL, { 0u, 0u, 0u } }; -- 2.7.4