From cfc461fca6ad5656f58c48803d13052537063316 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Wed, 1 Sep 2010 08:12:51 +0200 Subject: r300g: add a new debug option which disables compiler optimizations Those are: - dead-code elimination - constant folding - peephole (mainly copy propagation) - register allocation There are some bugs which I need to track down. Also fix up the descriptions of all the debug options. --- src/gallium/drivers/r300/r300_screen.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/r300/r300_screen.h') diff --git a/src/gallium/drivers/r300/r300_screen.h b/src/gallium/drivers/r300/r300_screen.h index 13a3320b99..f2f63213e0 100644 --- a/src/gallium/drivers/r300/r300_screen.h +++ b/src/gallium/drivers/r300/r300_screen.h @@ -97,6 +97,7 @@ r300_winsys_screen(struct pipe_screen *screen) { #define DBG_NO_TILING (1 << 17) #define DBG_NO_IMMD (1 << 18) #define DBG_FAKE_OCC (1 << 19) +#define DBG_NO_OPT (1 << 20) /* Statistics. */ #define DBG_STATS (1 << 24) /*@}*/ -- cgit v1.2.3