Revert "i965: For color clears, only disable writes to components that exist."
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 22 Mar 2014 00:02:41 +0000 (17:02 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 22 Mar 2014 00:03:20 +0000 (17:03 -0700)
commit4c79f088c0ef8d36b0c57d5005743768d8c5f3e9
treec6da0dee114ae47d07bff035f502ed3503ef4111
parent2919c3fdb40cf457f2e47f378a46f4cefa9e9f6d
Revert "i965: For color clears, only disable writes to components that exist."

This reverts commit 2919c3fdb40cf457f2e47f378a46f4cefa9e9f6d.

For formats like BGRX, looping through 0..num_components works fine.
But for formats like XRGB, we'd check the color mask for X and fail to
check it for B.
src/mesa/drivers/dri/i965/brw_blorp_clear.cpp