Mesa (master): r300g: Remove unused debug flag.

Corbin Simpson csimpson at kemper.freedesktop.org
Thu Oct 22 08:45:16 UTC 2009


Module: Mesa
Branch: master
Commit: 5a653ada4143c24b00b0ca12b4898064afd59c29
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5a653ada4143c24b00b0ca12b4898064afd59c29

Author: Corbin Simpson <MostAwesomeDude at gmail.com>
Date:   Wed Oct 21 22:54:52 2009 -0700

r300g: Remove unused debug flag.

---

 src/gallium/drivers/r300/r300_context.h |    5 ++---
 src/gallium/drivers/r300/r300_debug.c   |    1 -
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h
index 61a57df..4e2c0ec 100644
--- a/src/gallium/drivers/r300/r300_context.h
+++ b/src/gallium/drivers/r300/r300_context.h
@@ -317,9 +317,8 @@ void r300_init_surface_functions(struct r300_context* r300);
 #define DBG_VP      0x0000004
 #define DBG_CS      0x0000008
 #define DBG_DRAW    0x0000010
-#define DBG_SURF    0x0000020
-#define DBG_TEX     0x0000040
-#define DBG_FALL    0x0000080
+#define DBG_TEX     0x0000020
+#define DBG_FALL    0x0000040
 /*@}*/
 
 static INLINE boolean DBG_ON(struct r300_context * ctx, unsigned flags)
diff --git a/src/gallium/drivers/r300/r300_debug.c b/src/gallium/drivers/r300/r300_debug.c
index bfd4ab0..421253c 100644
--- a/src/gallium/drivers/r300/r300_debug.c
+++ b/src/gallium/drivers/r300/r300_debug.c
@@ -37,7 +37,6 @@ static struct debug_option debug_options[] = {
     { "vp", DBG_VP, "Vertex program handling" },
     { "cs", DBG_CS, "Command submissions" },
     { "draw", DBG_DRAW, "Draw and emit" },
-    { "surf", DBG_SURF, "Surface drawing" },
     { "tex", DBG_TEX, "Textures" },
     { "fall", DBG_FALL, "Fallbacks" },
 




More information about the mesa-commit mailing list