summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/prog_instruction.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-04-29 11:52:06 -0600
committerBrian Paul <[email protected]>2009-04-29 11:52:06 -0600
commit0e85dcb66b990a63d60032816798ff693f9248e7 (patch)
tree24969bbd2c3748678c56ce08b48808e95599a008 /src/mesa/shader/prog_instruction.h
parent46ddcbc1a9e70d5dba257e6421eb69ed942dd1da (diff)
mesa: added _mesa_check_soa_dependencies() function
This function will check an instruction to see if there's data dependencies between the dst and src registers if executed in an SOA manner.
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 3109f6cbae5..40ad998f79d 100644
--- a/src/mesa/shader/prog_instruction.h
+++ b/src/mesa/shader/prog_instruction.h
@@ -428,6 +428,9 @@ _mesa_num_inst_dst_regs(gl_inst_opcode opcode);
extern GLboolean
_mesa_is_tex_instruction(gl_inst_opcode opcode);
+extern GLboolean
+_mesa_check_soa_dependencies(const struct prog_instruction *inst);
+
extern const char *
_mesa_opcode_string(gl_inst_opcode opcode);