iris: Stall on the CPU and resolve predication during fast clears.
authorRafael Antognolli <rafael.antognolli@intel.com>
Thu, 7 Mar 2019 01:06:13 +0000 (17:06 -0800)
committerRafael Antognolli <rafael.antognolli@intel.com>
Wed, 20 Mar 2019 23:46:26 +0000 (16:46 -0700)
commit5658c661de922fafdaa4e207a80ba4ced03297e8
treecf74615426499f7daea5969c212684ebad6fb9c1
parentce830a364e0aec8c9769729162bfe7501feb028b
iris: Stall on the CPU and resolve predication during fast clears.

Only if the clear color/depth is changing. In those cases, it's hard to
keep track of the current clear color, and aux state of some layers,
when predication is enabled. So simplify everything by stalling on the
few cases where we would have a fast clear color change with
predication.

v2:
 - fix comment (Ken)
 - explicitly check for predicate state after resolving it (Ken)

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/gallium/drivers/iris/iris_clear.c