projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
629ec2b
)
print conditional writemask, if enabled
author
Brian
<brian@yutani.localnet.net>
Thu, 22 Mar 2007 15:04:18 +0000
(09:04 -0600)
committer
Brian
<brian@yutani.localnet.net>
Thu, 22 Mar 2007 15:04:18 +0000
(09:04 -0600)
src/mesa/shader/prog_print.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/prog_print.c
b/src/mesa/shader/prog_print.c
index 4519f0c030b2d3fd9e021af14fe581151b4e2333..d290ce0a2a5e892ea1ac898f6202b430a3dba5be 100644
(file)
--- a/
src/mesa/shader/prog_print.c
+++ b/
src/mesa/shader/prog_print.c
@@
-388,6
+388,12
@@
print_dst_reg(const struct prog_dst_register *dstReg, gl_prog_print_mode mode,
dstReg->Index, mode, prog),
writemask_string(dstReg->WriteMask));
+ if (dstReg->CondMask != COND_TR) {
+ _mesa_printf(" (%s.%s)",
+ condcode_string(dstReg->CondMask),
+ _mesa_swizzle_string(dstReg->CondSwizzle, GL_FALSE, GL_FALSE));
+ }
+
#if 0
_mesa_printf("%s[%d]%s",
file_string((enum register_file) dstReg->File, mode),