anv: Perform HiZ resolves only on layout transitions
authorNanley Chery <nanley.g.chery@intel.com>
Mon, 2 Jan 2017 09:06:15 +0000 (01:06 -0800)
committerNanley Chery <nanley.g.chery@intel.com>
Fri, 13 Jan 2017 04:52:20 +0000 (20:52 -0800)
commit58af6156360a309578241acba949e540acf72cb1
tree7cc0d996c43f24da4e584eebd55a7c043d7a5305
parent2852efcda40274acf3272611c6a3b7731523a72d
anv: Perform HiZ resolves only on layout transitions

This is a better mapping to the Vulkan API and improves performance in
all tested workloads.

v2: Remove unnecessary image view aspect checks (Jason Ekstrand)

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