From 2fae99bcbd00392daf44d1bc570553ac70730d36 Mon Sep 17 00:00:00 2001 From: Rafael Antognolli Date: Tue, 2 Apr 2019 17:03:57 -0700 Subject: [PATCH] iris: Enable fast clear colors on gen11. Reviewed-by: Kenneth Graunke --- src/gallium/drivers/iris/iris_clear.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/gallium/drivers/iris/iris_clear.c b/src/gallium/drivers/iris/iris_clear.c index 6b0e665..da2593c 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; -- 2.7.4