i965: Mask out unused Align16 components in brw_untyped_atomic.
authorFrancisco Jerez <currojerez@riseup.net>
Thu, 26 Feb 2015 11:58:21 +0000 (13:58 +0200)
committerFrancisco Jerez <currojerez@riseup.net>
Fri, 20 Mar 2015 15:01:35 +0000 (17:01 +0200)
commit1cc00f1875e7b830db27945090ad78be41157dc9
tree51e26bc5479dcb354423e04dab1d827e860844f9
parent959d16e38e007b29349d7371fb390a5449c88341
i965: Mask out unused Align16 components in brw_untyped_atomic.

This is currently not a problem because the vec4 visitor happens to
mask out unused components from the destination, but it might become
an issue when we start using atomics without writeback message.  In
any case it seems sensible to set it again here because the
consequences of setting the wrong writemask (random graphics memory
corruption) are difficult to debug and can easily go unnoticed.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_eu_emit.c