mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Use uint32_t for blob size
This commit is contained in:
parent
66286b4034
commit
cf255030fd
@ -502,7 +502,7 @@ public:
|
||||
MemWrite( &item->blobData.time, GetTime() );
|
||||
MemWrite( &item->blobData.encoding, encoding );
|
||||
MemWrite( &item->blobData.data, (uint64_t)ptr );
|
||||
MemWrite( &item->blobData.size, (uint16_t)size );
|
||||
MemWrite( &item->blobData.size, (uint32_t)size );
|
||||
TracyQueueCommit( blobDataThread );
|
||||
}
|
||||
|
||||
|
||||
@ -407,12 +407,7 @@ struct QueueBlobData : public QueueBlob
|
||||
{
|
||||
uint64_t encoding;
|
||||
uint64_t data; // ptr
|
||||
uint16_t size;
|
||||
};
|
||||
|
||||
struct QueueBlobDataThread : public QueueBlobData
|
||||
{
|
||||
uint32_t thread;
|
||||
uint32_t size;
|
||||
};
|
||||
|
||||
// Don't change order, only add new entries at the end, this is also used on trace dumps!
|
||||
@ -762,7 +757,6 @@ struct QueueItem
|
||||
QueueMessageColorFatThread messageColorFatThread;
|
||||
QueueBlob blob;
|
||||
QueueBlobData blobData;
|
||||
QueueBlobDataThread blobDataThread;
|
||||
QueueGpuNewContext gpuNewContext;
|
||||
QueueGpuZoneBegin gpuZoneBegin;
|
||||
QueueGpuZoneBeginLean gpuZoneBeginLean;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user