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:
parent
06b23cc293
commit
ea65b145c6
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user