summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/program.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2006-10-28 23:08:07 +0000
committerBrian Paul <[email protected]>2006-10-28 23:08:07 +0000
commit8ed319796f35ccd82863a270704752555706f1e2 (patch)
tree18556fcb95b37cc392e797693f2269f02a52f0f4 /src/mesa/shader/program.c
parentf5eea0cc7a8c568b00035427294812712c6c6081 (diff)
special case END in _mesa_print_instruction()
Diffstat (limited to 'src/mesa/shader/program.c')
-rw-r--r--src/mesa/shader/program.c3
1 files changed, 3 insertions, 0 deletions
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 */