diff options
| author | Shawn Hoffman <godisgovernment@gmail.com> | 2020-08-22 02:55:31 -0700 |
|---|---|---|
| committer | Shawn Hoffman <godisgovernment@gmail.com> | 2020-08-22 17:22:07 -0700 |
| commit | 6ef9d7070168559c9a3140dc5aa40913009a13b7 (patch) | |
| tree | be501d40411a5892c3b9cc460b03bfb41253bbc5 /Source/Core/VideoCommon/AsyncShaderCompiler.cpp | |
| parent | a769dff1d07eadfbf26d3f18043aa3ecdfc97482 (diff) | |
name some threads
Diffstat (limited to 'Source/Core/VideoCommon/AsyncShaderCompiler.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/AsyncShaderCompiler.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/AsyncShaderCompiler.cpp b/Source/Core/VideoCommon/AsyncShaderCompiler.cpp index 942f293f1b..1586c7d209 100644 --- a/Source/Core/VideoCommon/AsyncShaderCompiler.cpp +++ b/Source/Core/VideoCommon/AsyncShaderCompiler.cpp @@ -6,6 +6,7 @@ #include <thread> #include "Common/Assert.h" #include "Common/Logging/Log.h" +#include "Common/Thread.h" namespace VideoCommon { @@ -192,6 +193,8 @@ void AsyncShaderCompiler::WorkerThreadExit(void* param) void AsyncShaderCompiler::WorkerThreadEntryPoint(void* param) { + Common::SetCurrentThreadName("AsyncShaderCompiler Worker"); + // Initialize worker thread with backend-specific method. if (!WorkerThreadInitWorkerThread(param)) { |
