i965: When splitting vector variable assignment, ignore unset channels.
authorEric Anholt <eric@anholt.net>
Wed, 22 Sep 2010 21:40:40 +0000 (14:40 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 22 Sep 2010 21:55:58 +0000 (14:55 -0700)
commitac3d5beb0b20eb369b188aaf7b78f935969f3b62
tree08a9eb35348aef0c8af136eb6783304b9cd4e6bc
parent86a1938aa56c02d7da137b09e579d24d7da50d9e
i965: When splitting vector variable assignment, ignore unset channels.

The new checks for sanity in ir_assignment creation got angry about
this write_mask == 0.  Fixes:
glsl-fs-dot-vec2.
glsl-fs-atan-2
glsl-fs-dot-vec2
src/mesa/drivers/dri/i965/brw_fs_vector_splitting.cpp