summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawpoolpbropaque.h
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2023-02-21 20:42:25 -0600
committerDave Parks <davep@lindenlab.com>2023-02-21 20:42:25 -0600
commit19f7497d9a01731cbd82be4b522d8b879cdcb8a0 (patch)
tree4b2e59c87cb5d96b2e9c4e7be0c0131876df8897 /indra/newview/lldrawpoolpbropaque.h
parent131d116ffd21ef1e726e21c8fe2e6b7068c6c3d9 (diff)
DRTVWR-559 WIP -- occlusion culling for reflection probes -- has a defect for objects close to the camera at some angles and leaks query objects, will follow up.
Diffstat (limited to 'indra/newview/lldrawpoolpbropaque.h')
-rw-r--r--indra/newview/lldrawpoolpbropaque.h16
1 files changed, 2 insertions, 14 deletions
diff --git a/indra/newview/lldrawpoolpbropaque.h b/indra/newview/lldrawpoolpbropaque.h
index 69e063b322..c8a28461fa 100644
--- a/indra/newview/lldrawpoolpbropaque.h
+++ b/indra/newview/lldrawpoolpbropaque.h
@@ -32,21 +32,9 @@
class LLDrawPoolGLTFPBR final : public LLRenderPass
{
public:
- enum
- {
- // See: DEFERRED_VB_MASK
- VERTEX_DATA_MASK = 0
- | LLVertexBuffer::MAP_VERTEX
- | LLVertexBuffer::MAP_NORMAL
- | LLVertexBuffer::MAP_TEXCOORD0 // Diffuse
- | LLVertexBuffer::MAP_TEXCOORD1 // Normal
- | LLVertexBuffer::MAP_TEXCOORD2 // Spec <-- ORM Occlusion Roughness Metal
- | LLVertexBuffer::MAP_TANGENT
- | LLVertexBuffer::MAP_COLOR
- };
- U32 getVertexDataMask() override { return VERTEX_DATA_MASK; }
+ LLDrawPoolGLTFPBR(U32 type = LLDrawPool::POOL_GLTF_PBR);
- LLDrawPoolGLTFPBR();
+ U32 mRenderType = 0;
S32 getNumDeferredPasses() override;
void renderDeferred(S32 pass) override;