From: Rafael Antognolli Date: Wed, 3 Apr 2019 00:03:57 +0000 (-0700) Subject: iris: Enable fast clear colors on gen11. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2fae99bcbd00392daf44d1bc570553ac70730d36;p=mesa.git iris: Enable fast clear colors on gen11. Reviewed-by: Kenneth Graunke --- diff --git a/src/gallium/drivers/iris/iris_clear.c b/src/gallium/drivers/iris/iris_clear.c index 6b0e665c3b3..da2593c78dd 100644 --- a/src/gallium/drivers/iris/iris_clear.c +++ b/src/gallium/drivers/iris/iris_clear.c @@ -78,9 +78,6 @@ can_fast_clear_color(struct iris_context *ice, struct iris_batch *batch = &ice->batches[IRIS_BATCH_RENDER]; const struct gen_device_info *devinfo = &batch->screen->devinfo; - if (devinfo->gen > 9) - return false; - if (res->aux.usage == ISL_AUX_USAGE_NONE) return false;