i965/blorp: Fix clear code for ignoring colormask for XRGB formats on Gen9+
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Fri, 22 Apr 2016 06:44:13 +0000 (09:44 +0300)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Sat, 23 Apr 2016 04:29:15 +0000 (07:29 +0300)
commitc4ec0121a8558e291c4d6a23a953f0fc34560249
treea7a2d958cb084594127d27ee9e26b3379eca3cd3
parent19948f1bf621d66a02b0be7c6042416bea923ea7
i965/blorp: Fix clear code for ignoring colormask for XRGB formats on Gen9+

This is equivalent of 73b01e2711ff45a1f313d5372d6c8fa4fe55d4d2
for blorp.

v2 (Ken): No need to call _mesa_format_has_color_component() now
          that the number of components is gotten from
          _mesa_base_format_component_count().

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_blorp_clear.cpp