OSDN Git Service
(root)
/
android-x86
/
external-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
93b9c39
..
6262dc7
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);
}