From: Rafael Antognolli Date: Fri, 22 Feb 2019 01:51:26 +0000 (-0800) Subject: iris: Enable auxiliary buffer support again X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2b2b449dd146c43860c71eb05f0f02ee2ad69854;p=mesa.git iris: Enable auxiliary buffer support again Now that we are properly resolving buffers before giving them to the window system, let's enable aux support again. Reviewed-by: Kenneth Graunke --- diff --git a/src/gallium/drivers/iris/iris_resource.c b/src/gallium/drivers/iris/iris_resource.c index 8bc162f797c..1dc13ad16a6 100644 --- a/src/gallium/drivers/iris/iris_resource.c +++ b/src/gallium/drivers/iris/iris_resource.c @@ -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";