Skip to content

Commit 55edfeb

Browse files
committed
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.
1 parent 3ebcf6a commit 55edfeb

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

layers/core_validation.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6681,10 +6681,6 @@ VKAPI_ATTR VkResult VKAPI_CALL CreateDescriptorPool(VkDevice device, const VkDes
66816681
layer_data *dev_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map);
66826682
VkResult result = dev_data->dispatch_table.CreateDescriptorPool(device, pCreateInfo, pAllocator, pDescriptorPool);
66836683
if (VK_SUCCESS == result) {
6684-
if (log_msg(dev_data->report_data, VK_DEBUG_REPORT_INFORMATION_BIT_EXT, VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_POOL_EXT,
6685-
(uint64_t)*pDescriptorPool, __LINE__, DRAWSTATE_OUT_OF_MEMORY, "DS", "Created Descriptor Pool 0x%" PRIxLEAST64,
6686-
(uint64_t)*pDescriptorPool))
6687-
return VK_ERROR_VALIDATION_FAILED_EXT;
66886684
DESCRIPTOR_POOL_STATE *pNewNode = new DESCRIPTOR_POOL_STATE(*pDescriptorPool, pCreateInfo);
66896685
if (NULL == pNewNode) {
66906686
if (log_msg(dev_data->report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_POOL_EXT,

0 commit comments

Comments
 (0)