anv: Use ::anv_attachment_state for toggling HiZ per subpass
authorNanley Chery <nanley.g.chery@intel.com>
Mon, 9 Jan 2017 12:47:31 +0000 (04:47 -0800)
committerNanley Chery <nanley.g.chery@intel.com>
Fri, 13 Jan 2017 04:52:19 +0000 (20:52 -0800)
commit168985fca1b59d345471277d5c8ce4a82cdc74f4
tree4e2b2b8ff51f526c799f62ccc3ee8783e6dca644
parent055ff2ec52143f9d9110a27cea046087de7a0cb5
anv: Use ::anv_attachment_state for toggling HiZ per subpass

We're about to enable HiZ support for multiple subpasses. Use this field
to keep track of whether or not subpass operations should treat the
depth buffer as having an auxiliary HiZ buffer.

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