anv: Enable HiZ on multi-layer depth buffers.
authorRafael Antognolli <rafael.antognolli@intel.com>
Thu, 16 Apr 2020 18:47:37 +0000 (11:47 -0700)
committerMarge Bot <eric+marge@anholt.net>
Fri, 24 Apr 2020 15:14:59 +0000 (15:14 +0000)
commite3ab86c599d50c5b2f440430b10d6700ae0bf0f4
tree26809cb625dd2f082f823ca57b0fc625e17c9106
parent709f26c47df758cd3d3952c5a9edc40053ffded9
anv: Enable HiZ on multi-layer depth buffers.

Improves The Witcher 3 fps by 2-10% on ICL (depending on the configs and
system).

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4661>
src/intel/vulkan/anv_image.c
src/intel/vulkan/genX_cmd_buffer.c