iris: Use isl_aux_usage_has_fast_clear()
authorNanley Chery <nanley.g.chery@intel.com>
Fri, 8 Nov 2019 23:07:34 +0000 (15:07 -0800)
committerMarge Bot <eric+marge@anholt.net>
Mon, 24 Feb 2020 18:00:05 +0000 (18:00 +0000)
commitfec957900d6612493a6e03d0e5958dbe8c362733
tree29e2a5869ed6b4135755133b77703228418c244e
parent58d4749e5683857d57b8b432559c9d837544ad88
iris: Use isl_aux_usage_has_fast_clear()

Make sure fast-clears aren't attempted or allowed for ISL_AUX_USAGE_MC.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2957>
src/gallium/drivers/iris/iris_blit.c
src/gallium/drivers/iris/iris_clear.c
src/gallium/drivers/iris/iris_resolve.c