anv/image: Allow HiZ on input attachment-capable depth/stencil images
authorNanley Chery <nanley.g.chery@intel.com>
Tue, 31 Jan 2017 20:23:18 +0000 (12:23 -0800)
committerNanley Chery <nanley.g.chery@intel.com>
Thu, 2 Mar 2017 21:17:55 +0000 (13:17 -0800)
commitd7d64f1091006fb6faa48705c53f19ff5c657bc8
treeb5a32298182570340c364930bc93b07661efd348
parent76b8cc2a1c60eafb50434e41e95a801b43d58688
anv/image: Allow HiZ on input attachment-capable depth/stencil images

While an input attachment may only take on one of those two layouts,
other depth/stencil attachments that use the same image may have
HiZ-enabled layouts. Improves the average frame rate on a release
candidate of a proprietary Vulkan benchmark by 9.94% over 3 runs on my
SKL GT4.

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