i965/gen4: Fix message parameter loading for 1D TXD sampling.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 25 Jul 2011 21:27:07 +0000 (14:27 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 28 Jul 2011 21:04:39 +0000 (14:04 -0700)
commit3e1fd13f605f16e8b48f3a9b71910a3c66eb84b5
treed9e546dace75f6836a551db0e1d034da1c26dfea
parentfe33c886a79f49378e5719909a51e794b7bb1c38
i965/gen4: Fix message parameter loading for 1D TXD sampling.

We were neglecting to load dvdx and dvdy.  v is not optional.

Fixes glslparsertests tex-grad-0[12345].frag on Broadwater/Crestline.
(We still need an execution test using sampler1D.)

NOTE: This is a candidate for the 7.11 branch.

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp