st/nine: Disable depth write when nothing gets updated
authorAxel Davy <davyaxel0@gmail.com>
Mon, 25 Feb 2019 20:02:14 +0000 (21:02 +0100)
committerAxel Davy <davyaxel0@gmail.com>
Sat, 9 Mar 2019 12:57:49 +0000 (13:57 +0100)
commitf7b9c09c7cd41dc91c5392e467b71216234e342e
treee0522ed281af66ab3359f0828b8eec1f2f3b7ef4
parentd7b31969767c0911b490022dc6bb67827e664644
st/nine: Disable depth write when nothing gets updated

I do not see any perf impact on radeonsi, but it
seems iris needs this.
It seems something sensible to do.

Signed-off-by: Axel Davy <davyaxel0@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Tested-by: Andre Heider <a.heider@gmail.com>
src/gallium/state_trackers/nine/nine_pipe.c