This performance regression on non TCL hw was introduced by
ed4c6cbe017b4e8bacb7e012d4baaf77a20a2c33.
This patch depends on "r300: always route 4 texcoord components to RS" and "r300: add point attenuation stage for TCL fallbacks".
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.