i965/fs: Lower math into Gen4-5 send-like instructions in lower_logical_sends.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 18 May 2016 06:54:25 +0000 (23:54 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Sat, 28 May 2016 06:19:21 +0000 (23:19 -0700)
commit99b5476d33f967ac2a30c3f8f7f958a7169e7123
treeebcce452816e95424dd07983ec24c3e187049ded
parente531b7907a6a10922e09c42f9c78d3b59beab2b4
i965/fs: Lower math into Gen4-5 send-like instructions in lower_logical_sends.

The benefit is we will be able to use the SIMD lowering pass to unroll
math instructions of unsupported width and then remove some cruft from
the generator.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs_builder.h