diff --git a/UnleashedRecomp/gpu/video.cpp b/UnleashedRecomp/gpu/video.cpp index 9f9a27e8..499b60f0 100644 --- a/UnleashedRecomp/gpu/video.cpp +++ b/UnleashedRecomp/gpu/video.cpp @@ -4047,8 +4047,9 @@ static void ProcSetPixelShader(const RenderCommand& cmd) static std::thread g_renderThread([] { +#ifdef _WIN32 GuestThread::SetThreadName(GetCurrentThreadId(), "Render Thread"); - +#endif RenderCommand commands[32]; while (true) @@ -4857,7 +4858,9 @@ static moodycamel::BlockingConcurrentQueue g_pipelineSta static void PipelineCompilerThread() { +#ifdef _WIN32 GuestThread::SetThreadName(GetCurrentThreadId(), "Pipeline Compiler Thread"); +#endif std::unique_ptr ctx; while (true) @@ -5508,8 +5511,9 @@ static bool CheckMadeAll(const T& modelData) static void ModelConsumerThread() { +#ifdef _WIN32 GuestThread::SetThreadName(GetCurrentThreadId(), "Model Consumer Thread"); - +#endif std::vector> localPendingDataQueue; std::unique_ptr ctx;