summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian <brian@yutani.localnet.net>2007-02-05 15:17:06 -0700
committerBrian <brian@yutani.localnet.net>2007-02-05 15:17:06 -0700
commitd9731b26e759671d63e357eee2c921e90448ada2 (patch)
tree3fcf9f0f00cab7f2237ba8f041dc9747df4b620e
parent5e73284cee882bc3463e013c9b468a9b84c6dbc1 (diff)
minor formatting changes
-rw-r--r--src/mesa/shader/prog_print.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/shader/prog_print.c b/src/mesa/shader/prog_print.c
index 9474fe995f..208c998661 100644
--- a/src/mesa/shader/prog_print.c
+++ b/src/mesa/shader/prog_print.c
@@ -325,16 +325,16 @@ _mesa_print_instruction(const struct prog_instruction *inst, GLint indent)
print_comment(inst);
return indent + 3;
case OPCODE_ELSE:
- _mesa_printf("ELSE;\n");
+ _mesa_printf("ELSE\n");
return indent + 3;
case OPCODE_ENDIF:
- _mesa_printf("ENDIF;\n");
+ _mesa_printf("ENDIF\n");
break;
case OPCODE_BGNLOOP:
- _mesa_printf("LOOP;\n");
+ _mesa_printf("BGNLOOP\n");
return indent + 3;
case OPCODE_ENDLOOP:
- _mesa_printf("ENDLOOP;\n");
+ _mesa_printf("ENDLOOP (goto %d)\n", inst->BranchTarget);
break;
case OPCODE_BRK:
/* XXX just like BRA */