diff --git a/public/client/TracyProfiler.hpp b/public/client/TracyProfiler.hpp index 4c9ad5ab..4efb5811 100644 --- a/public/client/TracyProfiler.hpp +++ b/public/client/TracyProfiler.hpp @@ -342,11 +342,13 @@ public: TracyLfqCommit; } - static tracy_force_inline void ConfigurePlot( const char* name, PlotFormatType type ) + static tracy_force_inline void ConfigurePlot( const char* name, PlotFormatType type, bool step, bool fill ) { TracyLfqPrepare( QueueType::PlotConfig ); MemWrite( &item->plotConfig.name, (uint64_t)name ); MemWrite( &item->plotConfig.type, (uint8_t)type ); + MemWrite( &item->plotConfig.step, (uint8_t)step ); + MemWrite( &item->plotConfig.fill, (uint8_t)fill ); #ifdef TRACY_ON_DEMAND GetProfiler().DeferItem( *item ); diff --git a/public/common/TracyQueue.hpp b/public/common/TracyQueue.hpp index 351c5416..7dae6284 100644 --- a/public/common/TracyQueue.hpp +++ b/public/common/TracyQueue.hpp @@ -608,6 +608,8 @@ struct QueuePlotConfig { uint64_t name; // ptr uint8_t type; + uint8_t step; + uint8_t fill; }; struct QueueParamSetup diff --git a/public/tracy/Tracy.hpp b/public/tracy/Tracy.hpp index 3f838c78..8a9c9cca 100644 --- a/public/tracy/Tracy.hpp +++ b/public/tracy/Tracy.hpp @@ -47,7 +47,7 @@ #define LockableName(x,y,z); #define TracyPlot(x,y) -#define TracyPlotConfig(x,y) +#define TracyPlotConfig(x,y,z,w) #define TracyMessage(x,y) #define TracyMessageL(x) @@ -159,7 +159,7 @@ #define LockableName( varname, txt, size ) varname.CustomName( txt, size ) #define TracyPlot( name, val ) tracy::Profiler::PlotData( name, val ) -#define TracyPlotConfig( name, type ) tracy::Profiler::ConfigurePlot( name, type ) +#define TracyPlotConfig( name, type, step, fill ) tracy::Profiler::ConfigurePlot( name, type, step, fill ) #define TracyAppInfo( txt, size ) tracy::Profiler::MessageAppInfo( txt, size )