summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2009-02-28 14:07:17 -0800
committerCorbin Simpson <[email protected]>2009-02-28 14:07:17 -0800
commit8b8e954f9e67357b87dac487c838a01fa991d0f1 (patch)
tree50ef33f24ff74646d82733dd35a4a296846bc2ef /src
parent0328e838c2803cb730bad04155cb92f070560df0 (diff)
r300-gallium: Add RADEON_NO_TCL debugging option.
Just like R300_NO_TCL, when set, forces HW TCL off.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/r300/r300_chipset.c2
1 files changed, 1 insertions, 1 deletions
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;