diff options
author | Bartosz Taudul <wolf@nereid.pl> | 2022-01-29 02:40:11 +0300 |
---|---|---|
committer | Bartosz Taudul <wolf@nereid.pl> | 2022-01-29 02:40:11 +0300 |
commit | 7870ca9da63c032f0011dd705d1b98596312d6a7 (patch) | |
tree | 562b7f97353256669587316c54170a2499dd09ef /server | |
parent | 7a1b9efc2ffb71b9186944ea6e468b31e36d26b6 (diff) |
Add GPU mutable children accessor.
Diffstat (limited to 'server')
-rw-r--r-- | server/TracyWorker.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/TracyWorker.hpp b/server/TracyWorker.hpp index 47bb87ca..68de6e4c 100644 --- a/server/TracyWorker.hpp +++ b/server/TracyWorker.hpp @@ -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 |