i965/vs: Don't clobber sampler message MRFs with subexpressions.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 5 Aug 2012 04:28:23 +0000 (21:28 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 6 Aug 2012 18:16:15 +0000 (11:16 -0700)
commit54c045b93cd205bcf031e70d65238d60bfc07da4
treed3d657c89b361a99aca7ea58e4d3e2e65ddebbbb
parentc0f60106df724188d6ffe7c9f21eeff22186ab25
i965/vs: Don't clobber sampler message MRFs with subexpressions.

See the preceding commit for a description of the problem.

NOTE: This is a candidate for stable release branches.

v2: Use a separate dPdx variable rather than reusing the lod src_reg.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=52129
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp