summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-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 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 */