Ui: log the Vulkan device and descriptor mode
One line at the first window names the device, whether descriptors go through the heap or through sets, and the window's scale — the phone's answer to "which path ran".
This commit is contained in:
parent
a373e1bf5a
commit
99119e6d5e
1 changed files with 1 additions and 0 deletions
|
|
@ -149,6 +149,7 @@ export namespace ImsdMessages::Ui {
|
|||
source->onLost = [this] {
|
||||
if (onDisplayLost) onDisplayLost();
|
||||
};
|
||||
Log(std::format("vulkan: {}, descriptors by {}; window scale {}", Crafter::Device::deviceProperties.deviceName, Crafter::Device::descriptorHeapSupported ? "heap" : "sets", canvas->Window().scale));
|
||||
}
|
||||
frames.emplace(canvas->Window());
|
||||
frames->onFrame = [this] { canvas->Window().Update(); };
|
||||
|
|
|
|||
Loading…
Reference in a new issue