i965/vs: Fix textureGrad() with shadow samplers on Haswell.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 13 Feb 2013 05:51:17 +0000 (21:51 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 1 May 2013 17:42:51 +0000 (10:42 -0700)
commitb5b6460c40e1c46f6af6a490485132ea0864572c
tree34eacf7725148a3cfc0bd0802f9b066c62764f87
parente2f887b243fd34ef82e4782a968baca485b07b15
i965/vs: Fix textureGrad() with shadow samplers on Haswell.

The shadow comparitor needs to be loaded into the Z component of the
last DWord.

Fixes es3conform's shadow_execution_vert and oglconform's
shadow-grad advanced.textureGrad.1D tests on Haswell.

NOTE: This is a candidate for stable branches.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp