intel/blorp: Use the hardware op for CCS ambiguate on gen10+
authorJason Ekstrand <jason@jlekstrand.net>
Tue, 15 May 2018 22:28:05 +0000 (15:28 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Thu, 30 May 2019 20:49:48 +0000 (13:49 -0700)
commit5e43a75950e8562e65cb2d1d1f07781300a29d4f
tree0fb2f60e923eff3c3d2245b24edd1ffc4dbcac33
parentb31a31bba512ddc9358f1bf66395a8b2b7b2c0b1
intel/blorp: Use the hardware op for CCS ambiguate on gen10+

Cannonlake hardware adds a new resolve type in 3DSTATE_PS called
FAST_CLEAR_0 which does an ambiguate.  Now that the hardware can do it
directly, we should use that instead of binding the CCS as a render
target and doing it manually.  This was tested with a full Vulkan CTS
run on Cannonlake.

Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
src/intel/blorp/blorp_clear.c
src/intel/blorp/blorp_genX_exec.h