summaryrefslogtreecommitdiff
path: root/src/mesa/shader/prog_instruction.h
diff options
context:
space:
mode:
authormichal <michal@michal-laptop.(none)>2007-08-07 15:34:11 +0100
committermichal <michal@michal-laptop.(none)>2007-08-07 15:34:46 +0100
commit4a470f63c9c3f5aeef1e10ae42eee24c772f74fc (patch)
treea5a1ee000d1fca4a865beb61f7e7ac2f8bf9ffb7 /src/mesa/shader/prog_instruction.h
parentadf5560ea5f6955425939df7e75ce9d11ea36511 (diff)
Naive implementation of IF/ELSE/ENDIF.
Handle TGSI labels correctly. Enhance MESA opcode info queries.
Diffstat (limited to 'src/mesa/shader/prog_instruction.h')
-rw-r--r--src/mesa/shader/prog_instruction.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/shader/prog_instruction.h b/src/mesa/shader/prog_instruction.h
index c800757aa0..643969b367 100644
--- a/src/mesa/shader/prog_instruction.h
+++ b/src/mesa/shader/prog_instruction.h
@@ -440,6 +440,9 @@ _mesa_copy_instructions(struct prog_instruction *dest,
extern GLuint
_mesa_num_inst_src_regs(gl_inst_opcode opcode);
+extern GLuint
+_mesa_num_inst_dst_regs(gl_inst_opcode opcode);
+
extern const char *
_mesa_opcode_string(gl_inst_opcode opcode);