From 4d6f47640f8ac2c83d620f323d0bfda48ac79d81 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Fri, 3 Apr 2020 02:09:06 +0200 Subject: [PATCH] [dxgi] Name adapter event thread --- src/dxgi/dxgi_adapter.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dxgi/dxgi_adapter.cpp b/src/dxgi/dxgi_adapter.cpp index 4cf72e4c..1f05105c 100644 --- a/src/dxgi/dxgi_adapter.cpp +++ b/src/dxgi/dxgi_adapter.cpp @@ -400,6 +400,8 @@ namespace dxvk { void DxgiAdapter::runEventThread() { + env::setThreadName(str::format("dxvk-adapter-", m_index)); + std::unique_lock lock(m_mutex); DxvkAdapterMemoryInfo memoryInfoOld = m_adapter->getMemoryHeapInfo();