Fix sending GPU context name in on-demand mode.

This commit is contained in:
Bartosz Taudul 2021-02-27 19:59:32 +01:00
parent 401ee2ff2e
commit 99c6b91c0c
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -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;
} }