r300-gallium: Add RADEON_NO_TCL debugging option.
authorCorbin Simpson <MostAwesomeDude@gmail.com>
Sat, 28 Feb 2009 22:07:17 +0000 (14:07 -0800)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Sat, 28 Feb 2009 22:07:17 +0000 (14:07 -0800)
Just like R300_NO_TCL, when set, forces HW TCL off.

src/gallium/drivers/r300/r300_chipset.c

index 9577fd706fec5f3c0b27ed7f27977831e059bb65..e01a0546b22b51d67c54922519c622ef2c716c4d 100644 (file)
@@ -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;