summaryrefslogtreecommitdiff
path: root/src/mesa/shader/prog_print.c
diff options
context:
space:
mode:
authorBrian <brian@yutani.localnet.net>2007-03-23 17:45:53 -0600
committerBrian <brian@yutani.localnet.net>2007-03-23 17:45:53 -0600
commit81767eead9e1b1b5d5dfd274c0875fa1332a5983 (patch)
treefea47a8e63af9325012af4ce5d56a7bcae24b978 /src/mesa/shader/prog_print.c
parent63556fa9949f543a8134b6b5ff3d216acb71dd9f (diff)
consolidate some code
Diffstat (limited to 'src/mesa/shader/prog_print.c')
-rw-r--r--src/mesa/shader/prog_print.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/mesa/shader/prog_print.c b/src/mesa/shader/prog_print.c
index 39d2a07812..3f7ad47e05 100644
--- a/src/mesa/shader/prog_print.c
+++ b/src/mesa/shader/prog_print.c
@@ -601,14 +601,9 @@ _mesa_print_instruction_opt(const struct prog_instruction *inst, GLint indent,
_mesa_printf("ENDLOOP; # (goto %d)\n", inst->BranchTarget);
break;
case OPCODE_BRK:
- _mesa_printf("BRK (%s%s); #(goto %d)",
- condcode_string(inst->DstReg.CondMask),
- _mesa_swizzle_string(inst->DstReg.CondSwizzle, 0, GL_FALSE),
- inst->BranchTarget);
- print_comment(inst);
- break;
case OPCODE_CONT:
- _mesa_printf("CONT (%s%s); #(goto %d)",
+ _mesa_printf("%s (%s%s); # (goto %d)",
+ _mesa_opcode_string(inst->Opcode),
condcode_string(inst->DstReg.CondMask),
_mesa_swizzle_string(inst->DstReg.CondSwizzle, 0, GL_FALSE),
inst->BranchTarget);