aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r300
diff options
context:
space:
mode:
authorNicolai Haehnle <[email protected]>2007-03-19 20:01:20 +0100
committerNicolai Haehnle <[email protected]>2007-03-19 20:02:19 +0100
commit826815a5d27d6e79e9d0e0b0fc63bb3fd092d40d (patch)
treecdce6bd723f10963d11966ebcdd89bc0205cf53a /src/mesa/drivers/dri/r300
parent7b992d024b20df111db007286e5a54afcb531fb1 (diff)
r300: Dump fragment program after translation if RADEON_DEBUG=pixel is set
Diffstat (limited to 'src/mesa/drivers/dri/r300')
-rw-r--r--src/mesa/drivers/dri/r300/r300_fragprog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_fragprog.c b/src/mesa/drivers/dri/r300/r300_fragprog.c
index 93b9c396354..6262dc7a449 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(r300ContextPtr r300, struct r300_fragment_pr
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);
}