i965: When emitting a src/dst write of an output, keep the write mask
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 20 Jul 2011 23:04:17 +0000 (16:04 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Sat, 23 Jul 2011 08:24:18 +0000 (01:24 -0700)
commit337e2dfad0bcd567755272271abd2593a1d0fd1f
tree1839ed9e852c56bca64d642ef44d9a8d86c4154e
parentfbeb68e880318808f90c779cd3f8b8c4160eecf8
i965: When emitting a src/dst write of an output, keep the write mask

Fixes i965 piglit:

    vs-varying-array-mat[234]-col-row-wr
    vs-varying-array-mat[234]-index-col-row-wr
    vs-varying-array-mat[234]-index-row-wr
    vs-varying-array-mat[234]-row-wr
    vs-varying-mat[234]-col-row-wr
    vs-varying-mat[234]-row-wr

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_vs_emit.c