diff options
| author | Tobin Ehlis <tobine@google.com> | 2017-04-17 11:13:12 -0600 |
|---|---|---|
| committer | Tobin Ehlis <tobine@google.com> | 2017-04-17 15:31:18 -0600 |
| commit | fba3bf59ed6304ec13192f6583eb826d6a554ac2 (patch) | |
| tree | 5230f97aabad72b591b279dc61039e0449b49259 /layers/core_validation.cpp | |
| parent | 7c317df47a96a5d13f4514e65e974ea403d6a6b0 (diff) | |
| download | usermoji-fba3bf59ed6304ec13192f6583eb826d6a554ac2.tar.xz | |
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.
Diffstat (limited to 'layers/core_validation.cpp')
| -rw-r--r-- | layers/core_validation.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
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, |
