diff options
author | Dave Airlie <airlied@nx6125b.(none)> | 2007-07-01 18:40:26 +1000 |
---|---|---|
committer | Dave Airlie <airlied@nx6125b.(none)> | 2007-07-01 18:40:26 +1000 |
commit | b691d460465f992dc3febde06593341f192be970 (patch) | |
tree | 616a9ef727f862f5c24219c5cd8de2007a67a946 /src/mesa/drivers/dri/r300/r300_render.c | |
parent | 8f7478e5cb28912f81ec302a3c1b80733a3a6df3 (diff) |
r300: cleanup some of the swtcl code
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_render.c')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_render.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_render.c b/src/mesa/drivers/dri/r300/r300_render.c index db935795c7..7d8defd1cd 100644 --- a/src/mesa/drivers/dri/r300/r300_render.c +++ b/src/mesa/drivers/dri/r300/r300_render.c @@ -371,12 +371,17 @@ static int r300Fallback(GLcontext * ctx) static GLboolean r300RunNonTCLRender(GLcontext * ctx, struct tnl_pipeline_stage *stage) { + r300ContextPtr rmesa = R300_CONTEXT(ctx); + if (RADEON_DEBUG & DEBUG_PRIMS) fprintf(stderr, "%s\n", __FUNCTION__); if (r300Fallback(ctx) >= R300_FALLBACK_RAST) return GL_TRUE; + if (rmesa->radeon.radeonScreen->chip_flags & RADEON_CHIPSET_TCL) + return GL_TRUE; + return r300RunRender(ctx, stage); } |