summaryrefslogtreecommitdiff
path: root/src/mesa/shader/program_instruction.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-11-05 19:12:36 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-11-05 19:12:36 +0000
commit1fcdaf1c3b0ce07ea6acfc051cf4924e36c92030 (patch)
treea0906ac58289767acdc942d22fc5d25323230d4a /src/mesa/shader/program_instruction.h
parent637c375ee2e6dd835ac857ac061c02214027559c (diff)
added _mesa_num_inst_src_regs() and _mesa_opcode_string()
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 80dbd16a90..07a22145fa 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 */