From 072298f4f1f995ebada71f530e5f6b22c7df2cd3 Mon Sep 17 00:00:00 2001 From: redstrate Date: Thu, 14 Oct 2021 08:58:53 -0400 Subject: [PATCH] Remove some extra debug messages --- engine/gfx/vulkan/src/gfx_vulkan.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/engine/gfx/vulkan/src/gfx_vulkan.cpp b/engine/gfx/vulkan/src/gfx_vulkan.cpp index f93ce25..37cc72f 100755 --- a/engine/gfx/vulkan/src/gfx_vulkan.cpp +++ b/engine/gfx/vulkan/src/gfx_vulkan.cpp @@ -2121,13 +2121,9 @@ void GFXVulkan::cacheDescriptorState(GFXVulkanPipeline* pipeline, VkDescriptorSe allocInfo.pSetLayouts = &layout; VkResult error = vkAllocateDescriptorSets(device, &allocInfo, &descriptorSet); - if(error != VK_SUCCESS || descriptorSet == VK_NULL_HANDLE) { - prism::log("ERROR: no cache"); - + if(error != VK_SUCCESS || descriptorSet == VK_NULL_HANDLE) { // todo: lol we should really check why this fails sometimes return; - } else { - prism::log("Allocated new descriptor set."); - } + } name_object(device, VK_OBJECT_TYPE_DESCRIPTOR_SET, (uint64_t)descriptorSet, pipeline->label);