anv: Store depth stencil layouts
authorNanley Chery <nanley.g.chery@intel.com>
Mon, 2 Jan 2017 08:44:08 +0000 (00:44 -0800)
committerNanley Chery <nanley.g.chery@intel.com>
Fri, 13 Jan 2017 04:52:20 +0000 (20:52 -0800)
commit104ce1dbab44f8d11d5dcc90d3f1cc8c466893d8
tree2ca962b1e890ca914d28e95d02feafa0edc13c81
parent2e2cf78a5104b3e08fea039d1b2d20a137d6a371
anv: Store depth stencil layouts

Store the current and requested depth stencil layouts so that we can
perform the appropriate HiZ resolves for a given transition while
recording a render pass.

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