Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorBartosz Taudul <wolf@nereid.pl>2022-01-29 02:40:11 +0300
committerBartosz Taudul <wolf@nereid.pl>2022-01-29 02:40:11 +0300
commit7870ca9da63c032f0011dd705d1b98596312d6a7 (patch)
tree562b7f97353256669587316c54170a2499dd09ef /server
parent7a1b9efc2ffb71b9186944ea6e468b31e36d26b6 (diff)
Add GPU mutable children accessor.
Diffstat (limited to 'server')
-rw-r--r--server/TracyWorker.hpp1
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