summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2026-07-07 20:49:46 +0800
committerErik Kundiman <erik@megapahit.org>2026-07-07 20:49:46 +0800
commitc659a085f05f5a9f62abf8a4c2e394d910af4ae9 (patch)
tree4e18706c29a8d0d95078c438b67b2e7a81f24005 /indra/newview/pipeline.cpp
parent2121d3b20269baeb8bb88cef534307628f1adb2e (diff)
parent3d465f6c966f0a2fcfd5d3c9effb6ce20c2754c8 (diff)
Merge tag 'Second_Life_Release#3d465f6c-26.3' into 26.3
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r--indra/newview/pipeline.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index f4c121c18b..c36c5c6d29 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -9889,6 +9889,9 @@ void LLPipeline::renderShadow(const glm::mat4& view, const glm::mat4& proj, LLCa
LL_PROFILE_GPU_ZONE("renderShadow");
LLPipeline::sShadowRender = true;
+ // Shadow binds aren't visibility. RAII (not a hardcoded restore) so a shadow
+ // pass nested in a probe render doesn't re-enable stamping for the rest of it.
+ LLImageGLStampBypass stamp_bypass;
// disable occlusion culling during shadow render
U32 saved_occlusion = sUseOcclusion;
@@ -11315,6 +11318,9 @@ void LLPipeline::generateImpostor(LLVOAvatar* avatar, bool preview_avatar, bool
sShadowRender = true;
sImpostorRender = true;
+ // Impostor binds aren't visibility. RAII so the nested shadow pass can't
+ // re-enable stamping mid-render.
+ LLImageGLStampBypass stamp_bypass;
LLViewerCamera* viewer_camera = LLViewerCamera::getInstance();