From 7ee513c558ab754b6cf5c9ab2c662dc918ff92e9 Mon Sep 17 00:00:00 2001 From: Tanat Boozayaangool Date: Fri, 19 May 2023 12:51:52 +0100 Subject: [PATCH] Remove set debug label calls that were causing segfaults (#1300) --- cmd/vulkan_sample/main.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/cmd/vulkan_sample/main.cpp b/cmd/vulkan_sample/main.cpp index 5635fdea8..5457a2353 100644 --- a/cmd/vulkan_sample/main.cpp +++ b/cmd/vulkan_sample/main.cpp @@ -881,15 +881,6 @@ int main(int argc, const char** argv) { } \ } while (false) - // Set debug labels of objects created before the device. - SET_DEBUG_LABEL(instance, VK_OBJECT_TYPE_INSTANCE, "KubieInstance"); - SET_DEBUG_LABEL(physical_device, VK_OBJECT_TYPE_PHYSICAL_DEVICE, - "KubiePhysDevice"); - SET_DEBUG_LABEL(device, VK_OBJECT_TYPE_DEVICE, "KubieDevice"); - SET_DEBUG_LABEL(queue, VK_OBJECT_TYPE_QUEUE, "KubieQueue"); - SET_DEBUG_LABEL(surface, VK_OBJECT_TYPE_SURFACE_KHR, "KubieSurface"); - SET_DEBUG_LABEL(swapchain, VK_OBJECT_TYPE_SWAPCHAIN_KHR, "KubieSwapchain"); - // Immutable Data VkBuffer vertex_buffer; VkDeviceMemory vertex_buffer_memory;