i965/vec4: Override destination register writemask in sampler message send.
authorFrancisco Jerez <currojerez@riseup.net>
Thu, 12 Feb 2015 08:20:49 +0000 (10:20 +0200)
committerFrancisco Jerez <currojerez@riseup.net>
Mon, 16 Feb 2015 11:51:08 +0000 (13:51 +0200)
commit946e29847bb6bca18244192bad8058922ae0a948
treeb52b023f1a1d17dda7f2ce8e2fa241262ed4a3ed
parent0a811e1d1e5b23ecefda3f4569f68198e2612f3f
i965/vec4: Override destination register writemask in sampler message send.

This line was removed by accident in commit
16b911257440afbd77a6eb762e28df62e3c19bc7 causing a regression in the
ES3-CTS.gtf.GL3Tests.shadow.shadow_execution_vert Khronos conformance
test.  It's necessary because the swizzle_result() code below expects
all four components of the vector to be valid.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89094
Tested-by: Lu Hua <huax.lu@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp