display gpu name

This commit is contained in:
Samuliak 2024-12-18 19:31:24 +01:00
parent 770d6cfda7
commit 79290eae3f
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -523,6 +523,7 @@ void MetalRenderer::DeleteFontTextures()
void MetalRenderer::AppendOverlayDebugInfo()
{
ImGui::Text("--- GPU info ---");
ImGui::Text("GPU %s", m_device->name()->utf8String());
ImGui::Text("Is Apple GPU %s", (m_isAppleGPU ? "yes" : "no"));
ImGui::Text("Has unified memory %s", (m_hasUnifiedMemory ? "yes" : "no"));
ImGui::Text("Supports Metal3 %s", (m_supportsMetal3 ? "yes" : "no"));