i965: Use Haswell's sample_d_c for textureGrad with shadow samplers.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 4 Jan 2013 15:53:09 +0000 (07:53 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 30 Jan 2013 17:46:00 +0000 (09:46 -0800)
commitd02343e5016a5795451af3e0315b658b39463a30
treea40818b4b2a23c2c7d3f97181f0b88b310673851
parente4793701647c9b4112c7789926a564f796d4faeb
i965: Use Haswell's sample_d_c for textureGrad with shadow samplers.

The new hardware actually just supports this now.

Reviewed-by: Eric Anholt <eric@anholt.net>
(cherry picked from commit 899017fc54c40c969b5239b33f3a17b311878b0d)
src/mesa/drivers/dri/i965/brw_defines.h
src/mesa/drivers/dri/i965/brw_fs_emit.cpp
src/mesa/drivers/dri/i965/brw_shader.cpp
src/mesa/drivers/dri/i965/brw_vec4_emit.cpp