1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 12:23:53 +00:00

adding wiretap for debugging purposes

This commit is contained in:
Marcos Slomp 2024-05-16 11:35:50 -07:00
parent 06b23cc293
commit ea65b145c6

View File

@ -63,6 +63,10 @@ using TracyMetalCtx = void*;
#define TracyMetalDebug(mask, ...) #define TracyMetalDebug(mask, ...)
#endif #endif
#ifndef TracyMetalZoneScopeWireTap
#define TracyMetalZoneScopeWireTap
#endif//TracyMetalZoneScopeWireTap
namespace tracy namespace tracy
{ {
@ -508,6 +512,8 @@ public:
SubmitZoneEndGpu(m_ctx, m_query.idx + 1); SubmitZoneEndGpu(m_ctx, m_query.idx + 1);
} }
TracyMetalZoneScopeWireTap;
private: private:
const bool m_active; const bool m_active;