iris: Prepare depth resource if clear_depth enable
authorSagar Ghuge <sagar.ghuge@intel.com>
Wed, 28 Aug 2019 07:21:20 +0000 (00:21 -0700)
committerSagar Ghuge <sagar.ghuge@intel.com>
Tue, 29 Oct 2019 21:46:15 +0000 (14:46 -0700)
commit4e0ed40ed7b39e70198dda0e589c73bbbb93af7c
tree969b741e58e90834e2b952b03846fa586a2b0032
parent81de49a9f28482d262c875569ca1412989e88b06
iris: Prepare depth resource if clear_depth enable

Avoid preparing depth resource, if we did fast depth clear before.

Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com>
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
src/gallium/drivers/iris/iris_clear.c