intel/blorp: Be more conservative about copying clear colors
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 4 Jan 2019 17:32:40 +0000 (11:32 -0600)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 4 Jan 2019 23:57:43 +0000 (17:57 -0600)
commit19c608fe43ae7e1578920326690a361ff1be9d88
tree00372be434be1d7ca6c1c8afbefffba8dd686509
parent81b9361b683d43cceb91490ac28a2cbaffdeedf9
intel/blorp: Be more conservative about copying clear colors

In 92eb5bbc68d7324 we attempted to avoid copying clear colors whenever
we weren't doing a resolve.  However, this broke MSAA resolves because
we need the clear color in the source.  This patch makes blorp much more
conservative such that it only avoids the clear color copy if either
aux_usage == NONE or it's explicitly doing a fast-clear.

Fixes: 92eb5bbc68d7 "intel/blorp: Only copy clear color when doing..."
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107728
Reviewed-by: Rafael Antognolli <rafael.antognolli@intel.com>
src/intel/blorp/blorp_genX_exec.h