Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Taudul <wolf.pld@gmail.com>2020-06-16 02:42:52 +0300
committerBartosz Taudul <wolf.pld@gmail.com>2020-06-16 02:46:26 +0300
commit7a6141389cbf0099cb1c19a340396f1f1121f600 (patch)
tree384a2b035d36805a48f7e55bcee92204894ad6d1 /server/TracyEvent.hpp
parentdd05c8f524a1f4db3a3a0b6247bd9f7d038dd6e1 (diff)
Replace floating point condition with a bool.
Diffstat (limited to 'server/TracyEvent.hpp')
-rw-r--r--server/TracyEvent.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/TracyEvent.hpp b/server/TracyEvent.hpp
index 74ce7f75..c1401fbd 100644
--- a/server/TracyEvent.hpp
+++ b/server/TracyEvent.hpp
@@ -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 ) };