From: Corbin Simpson Date: Sat, 28 Feb 2009 22:07:17 +0000 (-0800) Subject: r300-gallium: Add RADEON_NO_TCL debugging option. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8b8e954f9e67357b87dac487c838a01fa991d0f1;p=mesa.git r300-gallium: Add RADEON_NO_TCL debugging option. Just like R300_NO_TCL, when set, forces HW TCL off. --- diff --git a/src/gallium/drivers/r300/r300_chipset.c b/src/gallium/drivers/r300/r300_chipset.c index 9577fd706fe..e01a0546b22 100644 --- a/src/gallium/drivers/r300/r300_chipset.c +++ b/src/gallium/drivers/r300/r300_chipset.c @@ -30,7 +30,7 @@ void r300_parse_chipset(struct r300_capabilities* caps) { /* Reasonable defaults */ - caps->has_tcl = TRUE; + caps->has_tcl = getenv("RADEON_NO_TCL") ? TRUE : FALSE; caps->is_r500 = FALSE; caps->num_vert_fpus = 4;