summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_screen.h
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-04-18 02:32:54 +0200
committerMarek Olšák <maraeo@gmail.com>2010-04-18 02:56:09 +0200
commit5b609badf7682da2377c5e67ab827b2dc3a06b9b (patch)
tree395664ce5cd2465cff64b72a9e3c6396ce6f815b /src/gallium/drivers/r300/r300_screen.h
parent4185d9770f1e08f190a57547ca47a231b9c0d6d7 (diff)
r300g: add debugging options "notiling" and "noimmd" (for testing)
notiling = Disable texture tiling noimmd = Disable immediate mode (this optimization was really worth it!)
Diffstat (limited to 'src/gallium/drivers/r300/r300_screen.h')
-rw-r--r--src/gallium/drivers/r300/r300_screen.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_screen.h b/src/gallium/drivers/r300/r300_screen.h
index 2f951c7097..4077424e54 100644
--- a/src/gallium/drivers/r300/r300_screen.h
+++ b/src/gallium/drivers/r300/r300_screen.h
@@ -69,6 +69,8 @@ static INLINE struct r300_screen* r300_screen(struct pipe_screen* screen) {
#define DBG_TEX 0x0000020
#define DBG_FALL 0x0000040
#define DBG_ANISOHQ 0x0000080
+#define DBG_NO_TILING 0x0000100
+#define DBG_NO_IMMD 0x0000200
/*@}*/
static INLINE boolean SCREEN_DBG_ON(struct r300_screen * screen, unsigned flags)