summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_clear.c
diff options
context:
space:
mode:
authorRafael Antognolli <[email protected]>2019-04-02 17:03:57 -0700
committerRafael Antognolli <[email protected]>2019-04-30 08:31:44 -0700
commit2fae99bcbd00392daf44d1bc570553ac70730d36 (patch)
tree6418b565588fbfebf78e581be82275682c29cf4d /src/gallium/drivers/iris/iris_clear.c
parentcf3cadacdfe7275c44141685ca92697ca97784b1 (diff)
iris: Enable fast clear colors on gen11.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/gallium/drivers/iris/iris_clear.c')
-rw-r--r--src/gallium/drivers/iris/iris_clear.c3
1 files changed, 0 insertions, 3 deletions
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;