anv: Make blorp update the clear color.
authorRafael Antognolli <rafael.antognolli@intel.com>
Tue, 6 Mar 2018 17:21:40 +0000 (09:21 -0800)
committerRafael Antognolli <rafael.antognolli@intel.com>
Thu, 5 Apr 2018 14:42:45 +0000 (07:42 -0700)
commit7728720f07a1f0931d7d394d5842de3803e9192b
tree135c4a0b51d7ec493cb5b3c40f43711e7b12834e
parente8cadb673d6e3a5946e7d9be5811881e99bef952
anv: Make blorp update the clear color.

Instead of updating the clear color in anv before a resolve, just let
blorp handle that for us during fast clears.

v5: Update comment about HiZ clear color (Jordan).

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_blorp.c
src/intel/vulkan/anv_private.h
src/intel/vulkan/genX_cmd_buffer.c