summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_render.c
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_render.c
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_render.c')
-rw-r--r--src/gallium/drivers/r300/r300_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_render.c b/src/gallium/drivers/r300/r300_render.c
index 751a7e6d5b..fa7b70b084 100644
--- a/src/gallium/drivers/r300/r300_render.c
+++ b/src/gallium/drivers/r300/r300_render.c
@@ -138,7 +138,7 @@ static boolean immd_is_good_idea(struct r300_context *r300,
unsigned vertex_element_count = r300->velems->count;
unsigned i, vbi;
- if (count > 10) {
+ if (count > 10 || DBG_ON(r300, DBG_NO_IMMD)) {
return FALSE;
}