iris: Do not allocate clear_color_bo for gen8.
authorRafael Antognolli <rafael.antognolli@intel.com>
Tue, 26 Mar 2019 23:28:10 +0000 (16:28 -0700)
committerRafael Antognolli <rafael.antognolli@intel.com>
Tue, 2 Apr 2019 22:26:41 +0000 (15:26 -0700)
commitdfc5620a41ee7fa86850ed68ac32c4dde3466a95
treef72213f794ded13b9e9aa9a9156518efc21be060
parentc26d8a887d003d70518035e3db1ff3de260e8434
iris: Do not allocate clear_color_bo for gen8.

Since we are not using it for the clear color, there's no need to
allocate it.

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