aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_resource.c
diff options
context:
space:
mode:
authorRafael Antognolli <[email protected]>2019-02-21 17:51:26 -0800
committerKenneth Graunke <[email protected]>2019-03-13 14:45:13 -0700
commit2b2b449dd146c43860c71eb05f0f02ee2ad69854 (patch)
treec6613aee41976a97fd8e5833939789f58e9de36a /src/gallium/drivers/iris/iris_resource.c
parent1281368d02a22d08a892fbfda4cecc1219cde895 (diff)
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/iris/iris_resource.c')
-rw-r--r--src/gallium/drivers/iris/iris_resource.c3
1 files changed, 0 insertions, 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";