From 1fcdaf1c3b0ce07ea6acfc051cf4924e36c92030 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 5 Nov 2005 19:12:36 +0000 Subject: added _mesa_num_inst_src_regs() and _mesa_opcode_string() --- src/mesa/shader/program_instruction.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/mesa/shader/program_instruction.h') 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 */ -- cgit v1.2.3