commit | 4aa6162f6ecf96c7400c17c310eba0cfd0f5e083 | [log] [tgz] |
---|---|---|
author | Jason Ekstrand <jason.ekstrand@intel.com> | Fri Jan 09 20:01:13 2015 -0800 |
committer | Jason Ekstrand <jason.ekstrand@intel.com> | Thu Jan 15 07:20:24 2015 -0800 |
tree | bf3038964219161441349f7881224dc733a937fe | |
parent | dcb1acdea00a8f2c29777ff4078832df9d5b40ce [diff] |
nir/tex_instr: Add a nir_tex_src struct and dynamically allocate the src array This solves a number of problems. First is the ability to change the number of sources that a texture instruction has. Second, it solves the delema that may occur if a texture instruction has more than 4 sources. Reviewed-by: Connor Abbott <cwabbott0@gmail.com>