mesa: Branch 'master'

Nicolai Hähnle nh at kemper.freedesktop.org
Mon Mar 19 12:02:24 PDT 2007


 src/mesa/drivers/dri/r300/r300_fragprog.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

New commits:
diff-tree 826815a5d27d6e79e9d0e0b0fc63bb3fd092d40d (from 7b992d024b20df111db007286e5a54afcb531fb1)
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Mon Mar 19 20:01:20 2007 +0100

    r300: Dump fragment program after translation if RADEON_DEBUG=pixel is set

diff --git a/src/mesa/drivers/dri/r300/r300_fragprog.c b/src/mesa/drivers/dri/r300/r300_fragprog.c
index 93b9c39..6262dc7 100644
--- a/src/mesa/drivers/dri/r300/r300_fragprog.c
+++ b/src/mesa/drivers/dri/r300/r300_fragprog.c
@@ -2268,7 +2268,7 @@ void r300_translate_fragment_shader(r300
 		assert(rp->alu_end >= 0);
 
 		rp->translated = GL_TRUE;
-		if (1) dump_program(rp);
+		if (RADEON_DEBUG & DEBUG_PIXEL) dump_program(rp);
 		r300UpdateStateParameters(rp->ctx, _NEW_PROGRAM);
 	}
 


More information about the mesa-commit mailing list