iris: Fast clear depth buffers.
authorRafael Antognolli <rafael.antognolli@intel.com>
Tue, 26 Feb 2019 20:08:23 +0000 (12:08 -0800)
committerRafael Antognolli <rafael.antognolli@intel.com>
Wed, 20 Mar 2019 23:46:25 +0000 (16:46 -0700)
commit51638cf18a532510f9e1fd8f36207b56d38137b8
tree4de1592c077ae51603990c0c42ccc8ebe2a6c435
parent34d00b4410bcd5fe602f171b6febcfcab4347467
iris: Fast clear depth buffers.

Check and do a fast clear instead of a regular clear on depth buffers.

v3:
 - remove swith with some cases that we shouldn't wory about (Ken)
 - more parens into the has_hiz check (Ken)

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