summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-03-28 11:01:28 -0600
committerBrian <[email protected]>2007-03-28 11:01:28 -0600
commita01616eed52aa4dfe3b6850b76a4cd8de119a3f3 (patch)
tree2260fe2b1f7ad3ec672bf695e29ff983ed767a5a /src
parentd750861dc26e3898afa2b49e3969d709dc227664 (diff)
print condcodes if DEBUG_PROG
Diffstat (limited to 'src')
-rw-r--r--src/mesa/shader/prog_execute.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/shader/prog_execute.c b/src/mesa/shader/prog_execute.c
index 0438d6a7b99..7908976b60d 100644
--- 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
}
}