i965/fs: Lower TEX to TXL during NIR translation.
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 12 Aug 2016 18:38:29 +0000 (11:38 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Tue, 16 Aug 2016 23:31:59 +0000 (16:31 -0700)
commit0c754d1c4203d87dbb9d2dd882ef42686e6d01ec
treefb4e5a554aa2fbf2a5263c00b9b348376e379d29
parent5def00875de4f0895e22de94cba29131a26c0430
i965/fs: Lower TEX to TXL during NIR translation.

This simplifies the code slightly and will allow the SIMD lowering
pass to find out easily what the actual texturing opcode is in order
to determine the maximum execution size of texturing instructions.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs_nir.cpp