summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/AsyncShaderCompiler.cpp
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2020-08-23 06:01:05 -0500
committerGitHub <noreply@github.com>2020-08-23 06:01:05 -0500
commitc36ae84b966327bd9d78d3eabf2309f82d37792e (patch)
treebe501d40411a5892c3b9cc460b03bfb41253bbc5 /Source/Core/VideoCommon/AsyncShaderCompiler.cpp
parent4a34b74e6882a20edbcf2399dc8f9b397e62d82a (diff)
parent6ef9d7070168559c9a3140dc5aa40913009a13b7 (diff)
Merge pull request #9044 from shuffle2/thread-names
Thread names
Diffstat (limited to 'Source/Core/VideoCommon/AsyncShaderCompiler.cpp')
-rw-r--r--Source/Core/VideoCommon/AsyncShaderCompiler.cpp3
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))
{