diff options
author | Brian Paul <[email protected]> | 2009-04-29 11:52:06 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-04-29 11:52:06 -0600 |
commit | 0e85dcb66b990a63d60032816798ff693f9248e7 (patch) | |
tree | 24969bbd2c3748678c56ce08b48808e95599a008 /src/mesa/shader/prog_instruction.h | |
parent | 46ddcbc1a9e70d5dba257e6421eb69ed942dd1da (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.h | 3 |
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); |