anv: Avoid some resolves for samplable HiZ buffers
authorNanley Chery <nanley.g.chery@intel.com>
Thu, 15 Dec 2016 02:20:26 +0000 (18:20 -0800)
committerNanley Chery <nanley.g.chery@intel.com>
Fri, 13 Jan 2017 04:52:21 +0000 (20:52 -0800)
commit64272d4f1bc8fe1b476ed26904d673f35b0f2c86
tree139e0c1802b614c785ae42d97b1ca2c9f393eb1c
parent71334f494acea9ef0372fd4b3cd6557765669421
anv: Avoid some resolves for samplable HiZ buffers

v2: Simplify nested ifs (Jason Ekstrand)

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