iris: Prepare stencil resource before clear depth stencil
authorSagar Ghuge <sagar.ghuge@intel.com>
Wed, 14 Aug 2019 20:58:57 +0000 (13:58 -0700)
committerSagar Ghuge <sagar.ghuge@intel.com>
Tue, 29 Oct 2019 21:46:15 +0000 (14:46 -0700)
commit81de49a9f28482d262c875569ca1412989e88b06
tree5902c00a0878b1f0daaf31441632346bcc4db1c3
parentb8223991b5f2296ed22122cdf8a773cabd8f2f0f
iris: Prepare stencil resource before clear depth stencil

Let aux surface state tracker track the stencil buffer's aux state while
clearing depth stencil buffer.

v2: Fix condition check (Nanley Chery)

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