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

Use short ptr for GPU context query data.

This commit is contained in:
Bartosz Taudul 2019-11-02 16:26:20 +01:00
parent 1e4022e05b
commit 308c280e40

View File

@ -417,9 +417,11 @@ struct GpuCtxData
uint8_t accuracyBits;
float period;
flat_hash_map<uint64_t, GpuCtxThreadData, nohash<uint64_t>> threadData;
GpuEvent* query[64*1024];
short_ptr<GpuEvent> query[64*1024];
};
enum { GpuCtxDataSize = sizeof( GpuCtxData ) };
struct LockMap
{
struct TimeRange