projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbb71da
)
Check for inst->CondUpdate, print .C suffix.
author
Brian
<brian@yutani.localnet.net>
Mon, 18 Dec 2006 23:21:58 +0000
(16:21 -0700)
committer
Brian
<brian@yutani.localnet.net>
Mon, 18 Dec 2006 23:21:58 +0000
(16:21 -0700)
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 7e2e1b22c4b7e1fbeec0b0440e2bc8ba5ee47e45..4cd55d0bca854d65bc8e28bc801ba505b6376269 100644
(file)
--- a/
src/mesa/shader/prog_print.c
+++ b/
src/mesa/shader/prog_print.c
@@
-206,16
+206,15
@@
_mesa_print_alu_instruction(const struct prog_instruction *inst,
GLuint j;
_mesa_printf("%s", opcode_string);
+ if (inst->CondUpdate)
+ _mesa_printf(".C");
/* frag prog only */
if (inst->SaturateMode == SATURATE_ZERO_ONE)
_mesa_printf("_SAT");
if (inst->DstReg.File != PROGRAM_UNDEFINED) {
- _mesa_printf(" %s[%d]%s",
- program_file_string((enum register_file) inst->DstReg.File),
- inst->DstReg.Index,
- writemask_string(inst->DstReg.WriteMask));
+ print_dst_reg(&inst->DstReg);
}
else {
_mesa_printf(" ???");