iris: Enable fast clear colors on gen11.
authorRafael Antognolli <rafael.antognolli@intel.com>
Wed, 3 Apr 2019 00:03:57 +0000 (17:03 -0700)
committerRafael Antognolli <rafael.antognolli@intel.com>
Tue, 30 Apr 2019 15:31:44 +0000 (08:31 -0700)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/gallium/drivers/iris/iris_clear.c

index 6b0e665c3b315d44092f5234b873727a2b4a3421..da2593c78dd3044207ca69dc49bae0b2aece9168 100644 (file)
@@ -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;