Skip to content

Commit

Permalink
igl | shell | Add debug name to Vulkan device
Browse files Browse the repository at this point in the history
Reviewed By: corporateshark, rameshviswanathan

Differential Revision: D66547114

fbshipit-source-id: 175ba31d1f233c610891c4876a339b20e76a2660
  • Loading branch information
mmaurer authored and facebook-github-bot committed Dec 4, 2024
1 parent 13f02ac commit 3e8863e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion shell/mac/ViewController.mm
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,8 @@ - (void)loadView {
devices = igl::vulkan::HWDevice::queryDevices(
*context, igl::HWDeviceQueryDesc(igl::HWDeviceType::IntegratedGpu), nullptr);
}
auto device = igl::vulkan::HWDevice::create(std::move(context), devices[0], 0, 0);
auto device = igl::vulkan::HWDevice::create(
std::move(context), devices[0], 0, 0, 0, nullptr, nullptr, "IGL Shell", nullptr);

shellPlatform_ = std::make_shared<igl::shell::PlatformMac>(std::move(device));
[vulkanView prepareVulkan:shellPlatform_];
Expand Down

0 comments on commit 3e8863e

Please sign in to comment.