diff options
-rw-r--r-- | src/gallium/drivers/iris/iris_resource.c | 3 |
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"; |