iris: Add helper to convert fast clear color.
authorRafael Antognolli <rafael.antognolli@intel.com>
Thu, 28 Feb 2019 19:11:24 +0000 (11:11 -0800)
committerRafael Antognolli <rafael.antognolli@intel.com>
Wed, 20 Mar 2019 23:46:25 +0000 (16:46 -0700)
commit32c8fa64112770b1b4ecb879d40784f170f98a63
tree7be50339152c855c0c5bf456be953e338e07f73d
parent51638cf18a532510f9e1fd8f36207b56d38137b8
iris: Add helper to convert fast clear color.

It needs to be converted to a value that can be used by ISL (and our
hardware SURFACE_STATE structure).

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