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>
Tue, 8 Jan 2013 00:48:02 +0000 (16:48 -0800)
commit899017fc54c40c969b5239b33f3a17b311878b0d
tree01d41b594b75aed0f688c93ae8cdae6e0c16d025
parent30f8f58c2035dc7a14cf44d0d9af87dfb9256e96
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>
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