Skip to content

Commit

Permalink
Remove set debug label calls that were causing segfaults (#1300)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanat Boozayaangool authored May 19, 2023
1 parent 7c421de commit 7ee513c
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions cmd/vulkan_sample/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7ee513c

Please sign in to comment.