i965/fs: Implement promotion of varying pull loads on Gen4 during SIMD lowering.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 18 May 2016 08:26:03 +0000 (01:26 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Sat, 28 May 2016 06:19:21 +0000 (23:19 -0700)
commit64a6cb87f1fbfe2e410d6a4087450c2d4eb72228
treeff5c354de796bc7fa2152e3c732251f7982117c3
parentd8a3294ac21741c3a78eef72b832902e15fbd948
i965/fs: Implement promotion of varying pull loads on Gen4 during SIMD lowering.

Varying pull constant loads inherit the same limitation of pre-ILK
hardware that requires expanding SIMD8 texel fetch instructions to
SIMD16, we can deal with pull constant loads in the same way it's done
for texturing during SIMD lowering.

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