minor formatting changes
authorBrian <brian@yutani.localnet.net>
Mon, 5 Feb 2007 22:17:06 +0000 (15:17 -0700)
committerBrian <brian@yutani.localnet.net>
Mon, 5 Feb 2007 22:17:06 +0000 (15:17 -0700)
src/mesa/shader/prog_print.c

index 9474fe995f8c73975f2b77a29cc234743b5f3d0e..208c998661c1b2a17d408f7c6878020989a20fe4 100644 (file)
@@ -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 */