diff options
| author | Jonathan "Geenz" Goodman <geenz@lindenlab.com> | 2026-07-07 08:06:22 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-07 08:06:22 -0400 |
| commit | 3d465f6c966f0a2fcfd5d3c9effb6ce20c2754c8 (patch) | |
| tree | 6e54cc193b39ab8ded12f4fa343ada52f75b0c61 /indra/newview/pipeline.cpp | |
| parent | f2c356fc7130ce5e38b994dcfa1e210609b458b9 (diff) | |
| parent | b8762cb7999197f7da36b4820761298e85bdfa6f (diff) | |
Merge pull request #5982 from secondlife/geenz/texture-streaming-tweaks
Geenz/texture streaming tweaks
Diffstat (limited to 'indra/newview/pipeline.cpp')
| -rw-r--r-- | indra/newview/pipeline.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 4ef88f5deb..f18ec727df 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -9461,6 +9461,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; @@ -10845,6 +10848,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(); |
