1
0
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:
Bartosz Taudul
2020-06-16 01:42:52 +02:00
parent dd05c8f524
commit 7a6141389c
2 changed files with 5 additions and 2 deletions
+2 -1
View File
@@ -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 ) };