mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Replace floating point condition with a bool.
This commit is contained in:
@@ -564,9 +564,10 @@ struct GpuCtxData
|
||||
uint64_t count;
|
||||
uint8_t accuracyBits;
|
||||
float period;
|
||||
GpuContextType type;
|
||||
bool hasPeriod;
|
||||
unordered_flat_map<uint64_t, GpuCtxThreadData> threadData;
|
||||
short_ptr<GpuEvent> query[64*1024];
|
||||
GpuContextType type;
|
||||
};
|
||||
|
||||
enum { GpuCtxDataSize = sizeof( GpuCtxData ) };
|
||||
|
||||
Reference in New Issue
Block a user