diff options
author | Brian <[email protected]> | 2006-12-18 16:21:58 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2006-12-18 16:21:58 -0700 |
commit | b50280e95f3c044f53c0705d3a5619ebb2db4513 (patch) | |
tree | f1fbd0b3eba1a58a9088d1160bbbb1d8a410b8f1 /src/mesa/shader/prog_print.c | |
parent | fbb71da2b918da0ce8a3f95159a3a5fda08e7ca5 (diff) |
Check for inst->CondUpdate, print .C suffix.
Diffstat (limited to 'src/mesa/shader/prog_print.c')
-rw-r--r-- | src/mesa/shader/prog_print.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mesa/shader/prog_print.c b/src/mesa/shader/prog_print.c index 7e2e1b22c4b..4cd55d0bca8 100644 --- 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(" ???"); |