From 2b2b449dd146c43860c71eb05f0f02ee2ad69854 Mon Sep 17 00:00:00 2001 From: Rafael Antognolli Date: Thu, 21 Feb 2019 17:51:26 -0800 Subject: [PATCH] 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 --- src/gallium/drivers/iris/iris_resource.c | 3 --- 1 file changed, 3 deletions(-) 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"; -- 2.30.2