mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Explicitly store GPU context type.
This commit is contained in:
@@ -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 ) };
|
||||
|
||||
Reference in New Issue
Block a user