From 99119e6d5e0d8e8c4c09b77def94208a90f8e56d Mon Sep 17 00:00:00 2001 From: Jorijn van der Graaf Date: Sun, 18 Oct 2026 01:36:45 +0200 Subject: [PATCH] Ui: log the Vulkan device and descriptor mode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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". --- interfaces/ImsdMessages.Ui-App.cppm | 1 + 1 file changed, 1 insertion(+) diff --git a/interfaces/ImsdMessages.Ui-App.cppm b/interfaces/ImsdMessages.Ui-App.cppm index 1fe3ab0..5c31758 100644 --- a/interfaces/ImsdMessages.Ui-App.cppm +++ b/interfaces/ImsdMessages.Ui-App.cppm @@ -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(); };