diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2006-10-28 23:08:07 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2006-10-28 23:08:07 +0000 |
commit | 8ed319796f35ccd82863a270704752555706f1e2 (patch) | |
tree | 18556fcb95b37cc392e797693f2269f02a52f0f4 /src/mesa | |
parent | f5eea0cc7a8c568b00035427294812712c6c6081 (diff) |
special case END in _mesa_print_instruction()
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/shader/program.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/shader/program.c b/src/mesa/shader/program.c index ceceef0c5d..8ac38ae119 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 */ |