i965: For fast color clears, only check the color of live channels.
authorKevin Rogovin <kevin.rogovin@intel.com>
Tue, 25 Mar 2014 06:37:16 +0000 (08:37 +0200)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 25 Mar 2014 22:34:28 +0000 (15:34 -0700)
commitfe635d51ff95def49f5941ebf6ca5f1dbbef3d30
tree58a08daae65d8e7299e2a23d9f3c4e56a9cf2d73
parentee4484be3dc827cf15bcf109f5e680dbf1dfbf34
i965: For fast color clears, only check the color of live channels.

When deciding if a clear color is suitable for fast clear,
take into account if a color channel is active in the
buffer format.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_blorp_clear.cpp