From 8ed319796f35ccd82863a270704752555706f1e2 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 28 Oct 2006 23:08:07 +0000 Subject: [PATCH] special case END in _mesa_print_instruction() --- src/mesa/shader/program.c | 3 +++ 1 file changed, 3 insertions(+) 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 */ -- 2.30.2