projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d750861
)
print condcodes if DEBUG_PROG
author
Brian
<brian@yutani.localnet.net>
Wed, 28 Mar 2007 17:01:28 +0000
(11:01 -0600)
committer
Brian
<brian@yutani.localnet.net>
Wed, 28 Mar 2007 17:01:28 +0000
(11:01 -0600)
src/mesa/shader/prog_execute.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/prog_execute.c
b/src/mesa/shader/prog_execute.c
index 0438d6a7b9907c7ae7ddb2838ab4d0b93d9d283f..7908976b60d3bc605eaaba42614bc8df8848f0f8 100644
(file)
--- a/
src/mesa/shader/prog_execute.c
+++ b/
src/mesa/shader/prog_execute.c
@@
-508,6
+508,13
@@
store_vector4(const struct prog_instruction *inst,
machine->CondCodes[2] = generate_cc(value[2]);
if (writeMask & WRITEMASK_W)
machine->CondCodes[3] = generate_cc(value[3]);
+#if DEBUG_PROG
+ printf("CondCodes=(%s,%s,%s,%s) for:\n",
+ _mesa_condcode_string(machine->CondCodes[0]),
+ _mesa_condcode_string(machine->CondCodes[1]),
+ _mesa_condcode_string(machine->CondCodes[2]),
+ _mesa_condcode_string(machine->CondCodes[3]));
+#endif
}
}