projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b992d0
)
r300: Dump fragment program after translation if RADEON_DEBUG=pixel is set
author
Nicolai Haehnle
<nhaehnle@gmail.com>
Mon, 19 Mar 2007 19:01:20 +0000
(20:01 +0100)
committer
Nicolai Haehnle
<nhaehnle@gmail.com>
Mon, 19 Mar 2007 19:02:19 +0000
(20:02 +0100)
src/mesa/drivers/dri/r300/r300_fragprog.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/r300_fragprog.c
b/src/mesa/drivers/dri/r300/r300_fragprog.c
index 93b9c396354d9c47ce4edeb41b1348fa6b6e871d..6262dc7a449928fccec91d381188d94052b3a326 100644
(file)
--- 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);
}