anv/image: Move handling of INTEL_VK_HIZ
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 13 Mar 2017 15:10:38 +0000 (08:10 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 15 Mar 2017 04:00:09 +0000 (21:00 -0700)
commitc09bb956ca1ee97a890543dd376c5a1287dd3f23
tree4fb3495803d14048a29132d3e53ce1dfa6e40de7
parent304b35b0e932188d78e7b089d2a936a65a746a09
anv/image: Move handling of INTEL_VK_HIZ

This makes it so that you don't get an "Implement gen7 HiZ" perf warning
when you manually disable HiZ on gen8.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/intel/vulkan/anv_image.c