From 99c6b91c0c9f67a71fbd2963e82867e88f667386 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 27 Feb 2021 19:59:32 +0100 Subject: [PATCH] Fix sending GPU context name in on-demand mode. --- client/TracyProfiler.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client/TracyProfiler.cpp b/client/TracyProfiler.cpp index 637920e5..1ff789bb 100644 --- a/client/TracyProfiler.cpp +++ b/client/TracyProfiler.cpp @@ -1575,6 +1575,11 @@ void Profiler::Worker() size = MemRead( &item.lockNameFat.size ); SendSingleString( (const char*)ptr, size ); break; + case QueueType::GpuContextName: + ptr = MemRead( &item.gpuContextNameFat.ptr ); + size = MemRead( &item.gpuContextNameFat.size ); + SendSingleString( (const char*)ptr, size ); + break; default: break; }