summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawpool.h
diff options
context:
space:
mode:
authorJonathan Goodman <geenz@lindenlab.com>2022-10-06 19:53:18 +0000
committerJonathan Goodman <geenz@lindenlab.com>2022-10-06 19:53:18 +0000
commita73b226f9ee1df4803da8acbcfcef579254a51a4 (patch)
tree915f5afdaa373706f49e92424b30ffef4bd537b6 /indra/newview/lldrawpool.h
parentdb92f9564992b9910b21f3de57a584ccfa199e75 (diff)
parent2b28fecf4893e103e99328e5b4a13c607498396d (diff)
Merged DRTVWR-559 into SL-18290
Diffstat (limited to 'indra/newview/lldrawpool.h')
-rw-r--r--indra/newview/lldrawpool.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/lldrawpool.h b/indra/newview/lldrawpool.h
index e8fde70ed0..2b7ace7ae5 100644
--- a/indra/newview/lldrawpool.h
+++ b/indra/newview/lldrawpool.h
@@ -48,6 +48,9 @@ public:
enum
{
// Correspond to LLPipeline render type
+ // Also controls render order, so passes that don't use alpha masking/blending should come before
+ // other passes and occlusion culling should happen just before rendering alpha masked passes
+ // in order to take advantage of hierarchical Z
// NOTE: Keep in sync with gPoolNames
POOL_SIMPLE = 1,
POOL_GROUND,