mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 18:08:40 +02:00
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:
parent
7f6b13be86
commit
033d1365e6
1 changed files with 4 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue