i965/hsw: Apply gather4 RG32F w/a using SCS instead of shader.
authorChris Forbes <chrisf@ijw.co.nz>
Mon, 30 Sep 2013 09:53:14 +0000 (22:53 +1300)
committerChris Forbes <chrisf@ijw.co.nz>
Wed, 2 Oct 2013 18:56:40 +0000 (07:56 +1300)
commit88f196ab6e2c3efcc75642533aad8bed8c87267a
treee213419200a9a01f03ac207d4e82656d4199ae02
parent7df985ad47df831f842843f2db9f7658b11d3df2
i965/hsw: Apply gather4 RG32F w/a using SCS instead of shader.

The new surface channel select bits allow us to avoid having to
recompile the shader for this workaround.

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-and-tested-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_wm.c
src/mesa/drivers/dri/i965/gen7_wm_surface_state.c