Initial invisiprim support in deferred

This commit is contained in:
Siana Gearz
2012-02-17 05:52:41 +01:00
parent 60081d7ed5
commit 60ded2ad14
7 changed files with 18 additions and 168 deletions

View File

@@ -1589,7 +1589,11 @@ void LLDrawPoolInvisible::endDeferredPass( S32 pass )
void LLDrawPoolInvisible::renderDeferred( S32 pass )
{ //render invisiprims; this doesn't work becaue it also blocks all the post-deferred stuff
#if 0
static const LLCachedControl<bool> enable("SianaRenderDeferredInvisiprim");
if (!enable) {
return;
}
LLFastTimer t(FTM_RENDER_INVISIBLE);
U32 invisi_mask = LLVertexBuffer::MAP_VERTEX;
@@ -1607,5 +1611,4 @@ void LLDrawPoolInvisible::renderDeferred( S32 pass )
renderShiny(true);
endShiny(true);
}
#endif
}