diff --git a/src/igl/vulkan/VulkanContext.cpp b/src/igl/vulkan/VulkanContext.cpp index 6750db1c31..91b078dbfb 100644 --- a/src/igl/vulkan/VulkanContext.cpp +++ b/src/igl/vulkan/VulkanContext.cpp @@ -794,7 +794,11 @@ igl::Result VulkanContext::initContext(const HWDeviceDesc& desc, device, deviceQueues_.computeQueueFamilyIndex, 0, &deviceQueues_.computeQueue); device_ = std::make_unique( - vf_, device, IGL_FORMAT("Device: VulkanContext::device_ {}", debugName).c_str()); + vf_, + device, + IGL_FORMAT("Device: VulkanContext::device_ {}", + debugName ? debugName : "igl/vulkan/VulkanContext.cpp") + .c_str()); immediate_ = std::make_unique(vf_, device,