From: Brian Paul Date: Sat, 28 Oct 2006 23:08:07 +0000 (+0000) Subject: special case END in _mesa_print_instruction() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8ed319796f35ccd82863a270704752555706f1e2;p=mesa.git special case END in _mesa_print_instruction() --- diff --git a/src/mesa/shader/program.c b/src/mesa/shader/program.c index ceceef0c5df..8ac38ae1199 100644 --- a/src/mesa/shader/program.c +++ b/src/mesa/shader/program.c @@ -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 */