mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Remove GPU resync leftovers.
This commit is contained in:
@@ -2066,18 +2066,6 @@ void Worker::ProcessGpuTime( const QueueGpuTime& ev )
|
||||
std::swap( zone->gpuEnd, zone->gpuStart );
|
||||
}
|
||||
}
|
||||
|
||||
if( !ctx->resync.empty() )
|
||||
{
|
||||
auto& resync = ctx->resync.front();
|
||||
assert( resync.events > 0 );
|
||||
resync.events--;
|
||||
if( resync.events == 0 )
|
||||
{
|
||||
ctx->timeDiff = resync.timeDiff;
|
||||
ctx->resync.erase( ctx->resync.begin() );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void Worker::ProcessMemAlloc( const QueueMemAlloc& ev )
|
||||
|
||||
Reference in New Issue
Block a user