Add GPU mutable children accessor.

This commit is contained in:
Bartosz Taudul 2022-01-29 00:40:11 +01:00
parent 7a1b9efc2f
commit 7870ca9da6
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -883,6 +883,7 @@ private:
void CacheSource( const StringRef& str );
tracy_force_inline Vector<short_ptr<ZoneEvent>>& GetZoneChildrenMutable( int32_t idx ) { return m_data.zoneChildren[idx]; }
tracy_force_inline Vector<short_ptr<GpuEvent>>& GetGpuChildrenMutable( int32_t idx ) { return m_data.gpuChildren[idx]; }
#ifndef TRACY_NO_STATISTICS
tracy_force_inline Vector<GhostZone>& GetGhostChildrenMutable( int32_t idx ) { return m_data.ghostChildren[idx]; }
#endif