anv: Fix some depth buffer sampling cases on ICL+
authorNanley Chery <nanley.g.chery@intel.com>
Tue, 30 Apr 2019 21:49:10 +0000 (14:49 -0700)
committerNanley Chery <nanleychery@gmail.com>
Thu, 16 May 2019 20:54:53 +0000 (20:54 +0000)
commit629806b55bccd7f3e5b7b753820c4442fdb30bbe
tree01ea2173381affe9350f5bf9d8cdc561b7c507f1
parentded2c202d5f5da6065d4cef19d8deedae6a8c307
anv: Fix some depth buffer sampling cases on ICL+

Don't attempt sampling with HiZ if the sampler lacks support for it. On
ICL, the HW docs state that sampling with HiZ is not supported and that
instances of AUX_HIZ in the RENDER_SURFACE_STATE object will be
interpreted as AUX_NONE.

Cc: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/intel/vulkan/anv_private.h