Skip to content

Commit

Permalink
igl | vulkan | Use hardcoded debug name if one hasn't been provided
Browse files Browse the repository at this point in the history
Reviewed By: ChristianK275, corporateshark

Differential Revision: D66923835

fbshipit-source-id: 56ef4a83bdb82d2c4005be504064a85211517652
  • Loading branch information
mmaurer authored and facebook-github-bot committed Dec 9, 2024
1 parent 3c9a10f commit 79d860a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/igl/vulkan/VulkanContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,11 @@ igl::Result VulkanContext::initContext(const HWDeviceDesc& desc,
device, deviceQueues_.computeQueueFamilyIndex, 0, &deviceQueues_.computeQueue);

device_ = std::make_unique<igl::vulkan::VulkanDevice>(
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<igl::vulkan::VulkanImmediateCommands>(vf_,
device,
Expand Down

0 comments on commit 79d860a

Please sign in to comment.