i965/fs: Implement lowering of logical texturing opcodes on Gen5-6.
authorFrancisco Jerez <currojerez@riseup.net>
Sat, 18 Jul 2015 13:52:06 +0000 (16:52 +0300)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 29 Jul 2015 11:12:48 +0000 (14:12 +0300)
commit501134b9fe02633ca0cdda66a9b670ae38e791f7
treed5f015d7b56637b08dad85ad8c5ece552aa886fc
parent03582f95b256e483fc1b0d78bd6a49203a448a23
i965/fs: Implement lowering of logical texturing opcodes on Gen5-6.

This should be largely equivalent to emit_texture_gen5() except for
slight codestyle changes and the use i965 opcodes instead of the
ir_texture_opcode enum, see "i965/fs: Implement lowering of logical
texturing opcodes on Gen7+." for the mapping between them.

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs.cpp