i965: Delete "fast color clear unsupported" performance warning.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 13 Mar 2014 09:28:14 +0000 (02:28 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 8 Apr 2014 20:09:46 +0000 (13:09 -0700)
commitec1baea95a4a654de5c80089b01e0e8f38f7129a
tree76fe9bea63c8949c326afc353bb842bb7d63a357
parentee839cc6ef92d37ec6a44e6036e7a2c46172a16a
i965: Delete "fast color clear unsupported" performance warning.

Applications frequently clear to colors other than 0.0 or 1.0, which
prevents us from doing fast color clears.  In that case, we issue this
performance warning on basically every glClear call, resulting in so
much spam that it's nearly impossible to see any other messages.

Plus, I don't think it's useful.  We aren't suggesting a better way to
do what the application developers want---we're just telling them it
would be faster to do something they don't want.

Driver developers have no control over the clear color, so this message
is totally useless to them.

A better alternative to get this sort of information is to use
INTEL_DEBUG=blorp, which tells you whether color clears were fast,
simd16 repdata, or slow.

v2: Rebase on has_color_component changes.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_blorp_clear.cpp