special case END in _mesa_print_instruction()
authorBrian Paul <brian.paul@tungstengraphics.com>
Sat, 28 Oct 2006 23:08:07 +0000 (23:08 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sat, 28 Oct 2006 23:08:07 +0000 (23:08 +0000)
src/mesa/shader/program.c

index ceceef0c5dfbc82058b492f60bd3e1d55a6e91a4..8ac38ae119979f6394aca9ad16881547bac4e6ec 100644 (file)
@@ -1691,6 +1691,9 @@ _mesa_print_instruction(const struct prog_instruction *inst)
       print_src_reg(&inst->SrcReg[0]);
       _mesa_printf(";\n");
       break;
+   case OPCODE_END:
+      _mesa_printf("END;\n");
+      break;
    /* XXX may need for other special-case instructions */
    default:
       /* typical alu instruction */