1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Send GPU zone thread handle.

This commit is contained in:
Bartosz Taudul
2018-06-17 18:55:12 +02:00
parent 6102f17e29
commit 684ba455a2
3 changed files with 4 additions and 0 deletions
+1
View File
@@ -174,6 +174,7 @@ public:
MemWrite( &item->hdr.type, QueueType::GpuZoneBegin );
MemWrite( &item->gpuZoneBegin.cpuTime, Profiler::GetTime() );
MemWrite( &item->gpuZoneBegin.srcloc, (uint64_t)srcloc );
MemWrite( &item->gpuZoneBegin.thread, GetThreadHandle() );
MemWrite( &item->gpuZoneBegin.context, ctx->GetId() );
tail.store( magic + 1, std::memory_order_release );
}