diff options
author | Eric Anholt <anholt@FreeBSD.org> | 2004-01-05 23:19:21 +0000 |
---|---|---|
committer | Eric Anholt <anholt@FreeBSD.org> | 2004-01-05 23:19:21 +0000 |
commit | 10095c9024efb1767fb3df0b59672299c090ad10 (patch) | |
tree | ec1dc24d77af6060ad8dcaf55785a7be8022a2f3 /src/mesa/drivers/dri/r200/r200_context.c | |
parent | 283507075acac9833ef2d5aeaaa08046af034419 (diff) |
Add support for Radeon IGP chipsets, based off of mcgrof-radeon-igp-v3.diff
XFree86 bug: 314
Diffstat (limited to 'src/mesa/drivers/dri/r200/r200_context.c')
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_context.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_context.c b/src/mesa/drivers/dri/r200/r200_context.c index 08bea796cc..af58c50b52 100644 --- a/src/mesa/drivers/dri/r200/r200_context.c +++ b/src/mesa/drivers/dri/r200/r200_context.c @@ -438,11 +438,12 @@ GLboolean r200CreateContext( const __GLcontextModes *glVisual, fprintf(stderr, "disabling 3D acceleration\n"); FALLBACK(rmesa, R200_FALLBACK_DISABLE, 1); } - else if (tcl_mode == DRI_CONF_TCL_SW || getenv("R200_NO_TCL")) { + else if (tcl_mode == DRI_CONF_TCL_SW || getenv("R200_NO_TCL") || + !(rmesa->r200Screen->chipset & R200_CHIPSET_TCL)) { fprintf(stderr, "disabling TCL support\n"); TCL_FALLBACK(rmesa->glCtx, R200_TCL_FALLBACK_TCL_DISABLE, 1); } - else { + if (rmesa->r200Screen->chipset & R200_CHIPSET_TCL) { if (tcl_mode >= DRI_CONF_TCL_VTXFMT && !getenv("R200_NO_VTXFMT")) { r200VtxfmtInit( ctx, tcl_mode >= DRI_CONF_TCL_CODEGEN ); } |