anv: Allocate hiz surface
authorChad Versace <chad.versace@intel.com>
Thu, 6 Oct 2016 22:21:49 +0000 (15:21 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Fri, 7 Oct 2016 19:54:18 +0000 (12:54 -0700)
commit917814dccd4354db09a1b7bf977ef2352b74c917
treefcc5628593a7ed85de5d52e5ecabe460616b6c5f
parent3aec432ed3306ffb62e2a703f5b419d5ae012afa
anv: Allocate hiz surface

Nanley Chery:
(rebase)
 - Use isl_surf_get_hiz_surf()
(amend)
 - Only add a HiZ surface onto a depth/stencil attachment
 - Add comment above HiZ surface addition
 - Hide HiZ behind INTEL_VK_HIZ prior to BDW
 - Disable HiZ for untested cases
 - Remove DISABLE_AUX_BIT instead of preventing it from being added

Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Chad Versace <chadversary@chromium.org>
src/intel/vulkan/anv_image.c