iris: Only update clear color for gens 8 and 9.
authorRafael Antognolli <rafael.antognolli@intel.com>
Tue, 26 Mar 2019 18:08:22 +0000 (11:08 -0700)
committerRafael Antognolli <rafael.antognolli@intel.com>
Tue, 2 Apr 2019 22:24:15 +0000 (15:24 -0700)
commit6a02873687f76c08bf4788d2905b9b8abeee2ba7
treeb2644e9b3d855cb4c9d964daa53cccb1130c33fc
parent5f467fe08e37a08fd12f4826b8a646760c491fec
iris: Only update clear color for gens 8 and 9.

Newer gens can read it directly.

Also properly skip updating the ISL_AUX_USAGE_NONE surface.

Fixes: a8b5ea8ef015ed4a "iris: Add function to update clear color in surface state."
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/gallium/drivers/iris/iris_state.c