Small formatting changes

This commit is contained in:
Ashley Ruglys 2021-11-17 11:31:02 +01:00
parent 91b4058dc4
commit cc45865239
No known key found for this signature in database
GPG Key ID: 1CDD7E27FB663837
2 changed files with 1 additions and 1 deletions

View File

@ -133,6 +133,7 @@ struct ___tracy_gpu_context_name_data {
// This struct, as visible to user, is immutable, so treat it as if const was declared here. // This struct, as visible to user, is immutable, so treat it as if const was declared here.
typedef /*const*/ struct ___tracy_c_zone_context TracyCZoneCtx; typedef /*const*/ struct ___tracy_c_zone_context TracyCZoneCtx;
#ifdef TRACY_MANUAL_LIFETIME #ifdef TRACY_MANUAL_LIFETIME
TRACY_API void ___tracy_startup_profiler(void); TRACY_API void ___tracy_startup_profiler(void);
TRACY_API void ___tracy_shutdown_profiler(void); TRACY_API void ___tracy_shutdown_profiler(void);

View File

@ -3968,7 +3968,6 @@ TRACY_API uint64_t ___tracy_alloc_srcloc_name( uint32_t line, const char* source
TRACY_API void ___tracy_emit_gpu_zone_begin_alloc( const struct ___tracy_gpu_zone_begin_data data, int active ) TRACY_API void ___tracy_emit_gpu_zone_begin_alloc( const struct ___tracy_gpu_zone_begin_data data, int active )
{ {
if( !active ) return; if( !active ) return;
{ {
TracyLfqPrepareC( tracy::QueueType::GpuZoneBeginAllocSrcLoc ); TracyLfqPrepareC( tracy::QueueType::GpuZoneBeginAllocSrcLoc );
tracy::MemWrite( &item->gpuZoneBegin.cpuTime, tracy::Profiler::GetTime() ); tracy::MemWrite( &item->gpuZoneBegin.cpuTime, tracy::Profiler::GetTime() );