aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2019-02-21 15:50:14 -0800
committerKenneth Graunke <[email protected]>2019-02-21 15:50:46 -0800
commitb21de090d64167ac7436bdec1d76e76797f3b5be (patch)
tree1f19d2e0967dba2581cbaaf1ad68ec22e5d4f0ea /src/gallium
parente2cb0c5e0e11b586a793a2b9d1b632d97fa1b6db (diff)
Revert "iris: Enable auxiliary buffer support"
This reverts commit cd0ced49e7957182d23e21657445b720184ea425. It breaks glxgears rendering.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/iris/iris_resource.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_resource.c b/src/gallium/drivers/iris/iris_resource.c
index 978bbb656cb..b5829e94b36 100644
--- a/src/gallium/drivers/iris/iris_resource.c
+++ b/src/gallium/drivers/iris/iris_resource.c
@@ -584,6 +584,9 @@ 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";