diff options
author | Runitai Linden <davep@lindenlab.com> | 2021-09-13 12:41:57 -0500 |
---|---|---|
committer | Dave Houlton <euclid@lindenlab.com> | 2021-09-15 12:41:38 -0600 |
commit | 7fe2856516d9e0de0fda6ff389ad3cc977b2d309 (patch) | |
tree | aedc012cdc82568f1d4333757374784a7574a3bd /indra/newview/lldrawpoolavatar.cpp | |
parent | f2d4f83931f77282d6cdeba582def46b51c22b89 (diff) |
SL-15975 Add Tracy-only profile macros that are no-ops when Tracy is disabled.
Diffstat (limited to 'indra/newview/lldrawpoolavatar.cpp')
-rw-r--r-- | indra/newview/lldrawpoolavatar.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/lldrawpoolavatar.cpp b/indra/newview/lldrawpoolavatar.cpp index 687b13d2c8..c04142ab47 100644 --- a/indra/newview/lldrawpoolavatar.cpp +++ b/indra/newview/lldrawpoolavatar.cpp @@ -1840,6 +1840,8 @@ void LLDrawPoolAvatar::updateRiggedFaceVertexBuffer( LLVolume* volume, LLVolumeFace& vol_face) { + LL_PROFILE_ZONE_SCOPED; + LLVector4a* weights = vol_face.mWeights; if (!weights) { @@ -2352,8 +2354,10 @@ void LLDrawPoolAvatar::updateRiggedVertexBuffers(LLVOAvatar* avatar) //update rigged vertex buffers for (U32 type = 0; type < NUM_RIGGED_PASSES; ++type) { + LL_PROFILE_ZONE_NAMED("Pass"); for (U32 i = 0; i < mRiggedFace[type].size(); ++i) { + LL_PROFILE_ZONE_NAMED("Face"); LLFace* face = mRiggedFace[type][i]; LLDrawable* drawable = face->getDrawable(); if (!drawable) |