mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Fix sending GPU context name in on-demand mode.
This commit is contained in:
parent
401ee2ff2e
commit
99c6b91c0c
@ -1575,6 +1575,11 @@ void Profiler::Worker()
|
|||||||
size = MemRead<uint16_t>( &item.lockNameFat.size );
|
size = MemRead<uint16_t>( &item.lockNameFat.size );
|
||||||
SendSingleString( (const char*)ptr, size );
|
SendSingleString( (const char*)ptr, size );
|
||||||
break;
|
break;
|
||||||
|
case QueueType::GpuContextName:
|
||||||
|
ptr = MemRead<uint64_t>( &item.gpuContextNameFat.ptr );
|
||||||
|
size = MemRead<uint16_t>( &item.gpuContextNameFat.size );
|
||||||
|
SendSingleString( (const char*)ptr, size );
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user