Remove some extra debug messages
This commit is contained in:
parent
e79a98c7d2
commit
072298f4f1
1 changed files with 2 additions and 6 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Reference in a new issue