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-05-27 19:16:53 +0300
committerBartosz Taudul <wolf.pld@gmail.com>2020-05-27 19:16:53 +0300
commit54a029356d6c502a9397953c39615a0257ba133e (patch)
tree9e2e91cfc5b2776e23675cd2f634a853479462bd /server/TracyEvent.hpp
parent4f3934ae6a2fbeb62a1abd7be47a6830c32f4c13 (diff)
Explicitly store GPU context type.
Diffstat (limited to 'server/TracyEvent.hpp')
-rw-r--r--server/TracyEvent.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/TracyEvent.hpp b/server/TracyEvent.hpp
index f4ad85de..8545b867 100644
--- a/server/TracyEvent.hpp
+++ b/server/TracyEvent.hpp
@@ -12,6 +12,7 @@
#include "TracyVector.hpp"
#include "tracy_robin_hood.h"
#include "../common/TracyForceInline.hpp"
+#include "../common/TracyQueue.hpp"
namespace tracy
{
@@ -571,6 +572,7 @@ struct GpuCtxData
float period;
unordered_flat_map<uint64_t, GpuCtxThreadData> threadData;
short_ptr<GpuEvent> query[64*1024];
+ GpuContextType type;
};
enum { GpuCtxDataSize = sizeof( GpuCtxData ) };