r300: fix performance regression

This performance regression on non TCL hw was introduced by ed4c6cbe01.
This patch depends on "r300: always route 4 texcoord components to RS" and "r300: add point attenuation stage for TCL fallbacks".
This commit is contained in:
Maciej Cencora 2009-04-24 16:28:47 +02:00 committed by Dave Airlie
parent 7f6b13be86
commit 033d1365e6

View file

@ -364,7 +364,10 @@ GLboolean r300CreateContext(const __GLcontextModes * glVisual,
ctx = r300->radeon.glCtx;
r300InitConstValues(ctx, screen);
ctx->VertexProgram._MaintainTnlProgram = GL_TRUE;
if (hw_tcl_on)
ctx->VertexProgram._MaintainTnlProgram = GL_TRUE;
ctx->FragmentProgram._MaintainTexEnvProgram = GL_TRUE;
/* Initialize the software rasterizer and helper modules.