anv: Use clear address for HiZ fast clears too.
authorRafael Antognolli <rafael.antognolli@intel.com>
Fri, 19 Jan 2018 01:19:30 +0000 (17:19 -0800)
committerRafael Antognolli <rafael.antognolli@intel.com>
Thu, 5 Apr 2018 14:42:45 +0000 (07:42 -0700)
commite8cadb673d6e3a5946e7d9be5811881e99bef952
treeb9bfecb2eedd286348e041477ec0c6dc6add5c53
parent021e1885d0d09adf3b9bc40c74172f983a2263dd
anv: Use clear address for HiZ fast clears too.

Store the default clear address for HiZ fast clears on a global bo, and
point to it when needed.

Signed-off-by: Rafael Antognolli <rafael.antognolli@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/intel/vulkan/anv_device.c
src/intel/vulkan/anv_image.c
src/intel/vulkan/anv_private.h