From 5b609badf7682da2377c5e67ab827b2dc3a06b9b Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Sun, 18 Apr 2010 02:32:54 +0200 Subject: r300g: add debugging options "notiling" and "noimmd" (for testing) notiling = Disable texture tiling noimmd = Disable immediate mode (this optimization was really worth it!) --- src/gallium/drivers/r300/r300_render.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/r300/r300_render.c') diff --git a/src/gallium/drivers/r300/r300_render.c b/src/gallium/drivers/r300/r300_render.c index 751a7e6d5bd..fa7b70b0846 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; } -- cgit v1.2.3