summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/program_instruction.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/shader/program_instruction.h')
-rw-r--r--src/mesa/shader/program_instruction.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/shader/program_instruction.h b/src/mesa/shader/program_instruction.h
index 80dbd16a90d..07a22145faa 100644
--- a/src/mesa/shader/program_instruction.h
+++ b/src/mesa/shader/program_instruction.h
@@ -340,5 +340,11 @@ struct prog_instruction
extern void
_mesa_init_instruction(struct prog_instruction *inst);
+extern GLuint
+_mesa_num_inst_src_regs(enum prog_opcode opcode);
+
+extern const char *
+_mesa_opcode_string(enum prog_opcode opcode);
+
#endif /* PROG_INSTRUCTION_H */