anv: Return optimal aux state for stencil buffer compression
authorSagar Ghuge <sagar.ghuge@intel.com>
Fri, 24 Apr 2020 17:33:27 +0000 (10:33 -0700)
committerMarge Bot <eric+marge@anholt.net>
Thu, 22 Oct 2020 21:42:36 +0000 (21:42 +0000)
commit993a2a71224e2063a111ecc1448788dddee0fc75
treebd337c4ee3b7ac3a59e251060226c69eb871caf1
parent815e6c8ef4e39e8735a6f608017e370271c0badb
anv: Return optimal aux state for stencil buffer compression

v2:
- Assert on aux_supported. (Nanley Chery)

Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com>
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2942>
src/intel/vulkan/anv_image.c