Merge pull request #439 from antiagainst/fix-event-debug

Fix include path and QueueType::PlotData in TracyEventDebug.cpp
This commit is contained in:
Bartosz Taudul 2022-08-02 21:27:20 +02:00 committed by GitHub
commit eeffb6d25c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@
#include <inttypes.h> #include <inttypes.h>
#include "TracyEventDebug.hpp" #include "TracyEventDebug.hpp"
#include "../common/TracyQueue.hpp" #include "../public/common/TracyQueue.hpp"
namespace tracy namespace tracy
{ {
@ -144,8 +144,14 @@ void EventDebug( const QueueItem& ev )
case QueueType::GpuZoneEndSerial: case QueueType::GpuZoneEndSerial:
fprintf( f, "ev %i (GpuZoneEndSerial)\n", ev.hdr.idx ); fprintf( f, "ev %i (GpuZoneEndSerial)\n", ev.hdr.idx );
break; break;
case QueueType::PlotData: case QueueType::PlotDataInt:
fprintf( f, "ev %i (PlotData)\n", ev.hdr.idx ); fprintf( f, "ev %i (PlotDataInt)\n", ev.hdr.idx );
break;
case QueueType::PlotDataFloat:
fprintf( f, "ev %i (PlotDataFloat)\n", ev.hdr.idx );
break;
case QueueType::PlotDataDouble:
fprintf( f, "ev %i (PlotDataDouble)\n", ev.hdr.idx );
break; break;
case QueueType::ContextSwitch: case QueueType::ContextSwitch:
fprintf( f, "ev %i (ContextSwitch)\n", ev.hdr.idx ); fprintf( f, "ev %i (ContextSwitch)\n", ev.hdr.idx );