summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2023-03-24 10:31:32 -0500
committerDave Parks <davep@lindenlab.com>2023-03-24 10:31:32 -0500
commitdf9d2b6e9613d15d39e3e870fc09686e41b6c37f (patch)
tree0d56d9c03da45e6e4e59d1f694afbb0c1009da15 /indra/newview/pipeline.cpp
parentcf3a0c77f1855aa1a33ff39f86e846e7fb9031d1 (diff)
SL-19321 Optimization pass -- reduce occlusion culling frame stalls, reduce shadow draw distance in probes.
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r--indra/newview/pipeline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index 18b0192346..f059c87c91 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -9419,7 +9419,7 @@ void LLPipeline::generateSunShadow(LLCamera& camera)
}
else
{
- for (S32 j = 0; j < 4; j++)
+ for (S32 j = 0; j < (gCubeSnapshot ? 3 : 4); j++)
{
if (!hasRenderDebugMask(RENDER_DEBUG_SHADOW_FRUSTA) && !gCubeSnapshot)
{