summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorCosmic Linden <cosmic@lindenlab.com>2023-10-13 10:38:59 -0700
committerCosmic Linden <cosmic@lindenlab.com>2023-10-13 10:38:59 -0700
commit7f7431891661668b898e03345c8023b4bbd0d9d9 (patch)
tree85d90771a01ddeaa38f9c828e02537292d2a0772 /indra/newview
parentd6aced7abf0c54ec94033534124025c87fb9aeb2 (diff)
DRTVWR-592: Add tracy block to gen_terrain_tangents (not profiled)
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llvosurfacepatch.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llvosurfacepatch.cpp b/indra/newview/llvosurfacepatch.cpp
index 6318361d8d..feb1e26d57 100644
--- a/indra/newview/llvosurfacepatch.cpp
+++ b/indra/newview/llvosurfacepatch.cpp
@@ -1001,6 +1001,8 @@ void gen_terrain_tangents(U16 strider_vertex_count,
LLStrider<LLVector2> &texCoords0p,
LLStrider<U16> &indicesp)
{
+ LL_PROFILE_ZONE_SCOPED
+
LLVector4a *vertices = new LLVector4a[strider_vertex_count];
LLVector4a *normals = new LLVector4a[strider_vertex_count];
LLVector4a *tangents = new LLVector4a[strider_vertex_count];