summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2019-02-13 17:31:52 -0800
committerKenneth Graunke <[email protected]>2019-02-21 10:26:12 -0800
commitcd0ced49e7957182d23e21657445b720184ea425 (patch)
tree75e3dc126e6d64d116aef84d1ab0e7ee8fd26999
parentdb8144583713eea30397e765df2ce76b507440ac (diff)
iris: Enable auxiliary buffer support
This currently regresses KHR-GL4x.compute_shader.resource-texture, but that's a pre-existing bug (https://bugs.freedesktop.org/109113) which should be fixed up once we have fast clear support.
-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 b5829e94b36..978bbb656cb 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";