iris: Enable auxiliary buffer support again
authorRafael Antognolli <rafael.antognolli@intel.com>
Fri, 22 Feb 2019 01:51:26 +0000 (17:51 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 13 Mar 2019 21:45:13 +0000 (14:45 -0700)
Now that we are properly resolving buffers before giving them to the
window system, let's enable aux support again.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/gallium/drivers/iris/iris_resource.c

index 8bc162f797c6b29000e5edc77f054c5717cf3bdd..1dc13ad16a6b24cd5d6a2b6044f56ce9ad7882e6 100644 (file)
@@ -584,9 +584,6 @@ iris_resource_create_with_modifiers(struct pipe_screen *pscreen,
       }
    }
 
-   // XXX: we don't actually do aux yet
-   res->aux.possible_usages = 1 << ISL_AUX_USAGE_NONE;
-
    res->aux.usage = util_last_bit(res->aux.possible_usages) - 1;
 
    const char *name = "miptree";