iris: Use the clear depth when emitting 3DSTATE_CLEAR_PARAMS.
authorRafael Antognolli <rafael.antognolli@intel.com>
Tue, 26 Feb 2019 20:02:35 +0000 (12:02 -0800)
committerRafael Antognolli <rafael.antognolli@intel.com>
Wed, 20 Mar 2019 23:46:25 +0000 (16:46 -0700)
commit34d00b4410bcd5fe602f171b6febcfcab4347467
tree6d7803c945937210331798f1ed1c7452889b0bb1
parent37f2692591cb1af12325d16f7fea17cc761ae9d5
iris: Use the clear depth when emitting 3DSTATE_CLEAR_PARAMS.

Take the clear depth into account when IRIS_DIRTY_DEPTH_BUFFER is marked
as dirty.

Also update the blorp surface clear color.

v2: Use a single if (zres && zres->aux.bo) (Ken).

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