Archived
1
Fork 0

Remove some extra debug messages

This commit is contained in:
redstrate 2021-10-14 08:58:53 -04:00
parent e79a98c7d2
commit 072298f4f1

View file

@ -2121,13 +2121,9 @@ void GFXVulkan::cacheDescriptorState(GFXVulkanPipeline* pipeline, VkDescriptorSe
allocInfo.pSetLayouts = &layout; allocInfo.pSetLayouts = &layout;
VkResult error = vkAllocateDescriptorSets(device, &allocInfo, &descriptorSet); VkResult error = vkAllocateDescriptorSets(device, &allocInfo, &descriptorSet);
if(error != VK_SUCCESS || descriptorSet == VK_NULL_HANDLE) { if(error != VK_SUCCESS || descriptorSet == VK_NULL_HANDLE) { // todo: lol we should really check why this fails sometimes
prism::log("ERROR: no cache");
return; return;
} else { }
prism::log("Allocated new descriptor set.");
}
name_object(device, VK_OBJECT_TYPE_DESCRIPTOR_SET, (uint64_t)descriptorSet, pipeline->label); name_object(device, VK_OBJECT_TYPE_DESCRIPTOR_SET, (uint64_t)descriptorSet, pipeline->label);