From fba3bf59ed6304ec13192f6583eb826d6a554ac2 Mon Sep 17 00:00:00 2001 From: Tobin Ehlis Date: Mon, 17 Apr 2017 11:13:12 -0600 Subject: layers:Remove old INFO message INFO message in vkCreateDescriptorPool() is not needed and it was returning a validation error if the callback returned "true" which is just wrong. Killing the code altogether. --- layers/core_validation.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'layers/core_validation.cpp') diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index b12e5d42..e2a6a328 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -6681,10 +6681,6 @@ VKAPI_ATTR VkResult VKAPI_CALL CreateDescriptorPool(VkDevice device, const VkDes layer_data *dev_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); VkResult result = dev_data->dispatch_table.CreateDescriptorPool(device, pCreateInfo, pAllocator, pDescriptorPool); if (VK_SUCCESS == result) { - if (log_msg(dev_data->report_data, VK_DEBUG_REPORT_INFORMATION_BIT_EXT, VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_POOL_EXT, - (uint64_t)*pDescriptorPool, __LINE__, DRAWSTATE_OUT_OF_MEMORY, "DS", "Created Descriptor Pool 0x%" PRIxLEAST64, - (uint64_t)*pDescriptorPool)) - return VK_ERROR_VALIDATION_FAILED_EXT; DESCRIPTOR_POOL_STATE *pNewNode = new DESCRIPTOR_POOL_STATE(*pDescriptorPool, pCreateInfo); if (NULL == pNewNode) { if (log_msg(dev_data->report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_POOL_EXT, -- cgit v1.2.3