From f1110aea28d7269f50dd749834ec0ff7a53a0830 Mon Sep 17 00:00:00 2001 From: Marcin Rogucki Date: Wed, 11 Oct 2017 11:26:33 +0200 Subject: [PATCH] out_of_pool_memory test reports wrong error code While creating default device a device version was used to select enabled extensions however this should be based on used API version (a minimum of Vulkan version and device version). It is fixed now. Component: Vulkan VK-GL-CTS issue: 763 Affects: dEQP-VK.api.descriptor_pool.out_of_pool_memory Change-Id: I879d296ab56c1e2118dca84845cce6abc0e75f92 --- external/vulkancts/modules/vulkan/vktTestCase.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/external/vulkancts/modules/vulkan/vktTestCase.cpp b/external/vulkancts/modules/vulkan/vktTestCase.cpp index 08cd185..576e2f3 100644 --- a/external/vulkancts/modules/vulkan/vktTestCase.cpp +++ b/external/vulkancts/modules/vulkan/vktTestCase.cpp @@ -363,9 +363,9 @@ DefaultDevice::DefaultDevice (const PlatformInterface& vkPlatform, const tcu::Co , m_usedApiVersion (deMin32(m_instanceVersion, m_deviceVersion)) , m_universalQueueFamilyIndex (findQueueFamilyIndexWithCaps(m_instanceInterface, m_physicalDevice, VK_QUEUE_GRAPHICS_BIT|VK_QUEUE_COMPUTE_BIT)) , m_deviceProperties (getPhysicalDeviceProperties(m_instanceInterface, m_physicalDevice)) - , m_deviceExtensions (addCoreDeviceExtensions(filterExtensions(enumerateDeviceExtensionProperties(m_instanceInterface, m_physicalDevice, DE_NULL)), m_deviceVersion)) - , m_deviceFeatures (m_instanceInterface, m_deviceVersion, m_physicalDevice, m_instanceExtensions, m_deviceExtensions) - , m_device (createDefaultDevice(m_instanceInterface, m_physicalDevice, m_deviceVersion, m_universalQueueFamilyIndex, getDeviceFeatures2(), m_deviceExtensions, cmdLine)) + , m_deviceExtensions (addCoreDeviceExtensions(filterExtensions(enumerateDeviceExtensionProperties(m_instanceInterface, m_physicalDevice, DE_NULL)), m_usedApiVersion)) + , m_deviceFeatures (m_instanceInterface, m_usedApiVersion, m_physicalDevice, m_instanceExtensions, m_deviceExtensions) + , m_device (createDefaultDevice(m_instanceInterface, m_physicalDevice, m_usedApiVersion, m_universalQueueFamilyIndex, m_deviceFeatures.coreFeatures, m_deviceExtensions, cmdLine)) , m_deviceInterface (m_instanceInterface, *m_device) { } -- 2.7.4