Mesa (master): iris: Silence warning about AUX_USAGE_MC.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Jan 28 21:02:15 UTC 2020
Module: Mesa
Branch: master
Commit: 096921c878a1eeb2d092c49170e3584d0f2f0f5a
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=096921c878a1eeb2d092c49170e3584d0f2f0f5a
Author: Eric Anholt <eric at anholt.net>
Date: Mon Dec 16 21:17:17 2019 -0800
iris: Silence warning about AUX_USAGE_MC.
It was recently introduced and not added to iris yet it looks like.
Reviewed-by: Kristian H. Kristensen <hoegsberg at google.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3539>
---
src/gallium/drivers/iris/iris_resource.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/gallium/drivers/iris/iris_resource.c b/src/gallium/drivers/iris/iris_resource.c
index 952d6615584..bdd715df2c9 100644
--- a/src/gallium/drivers/iris/iris_resource.c
+++ b/src/gallium/drivers/iris/iris_resource.c
@@ -553,6 +553,8 @@ iris_resource_configure_aux(struct iris_screen *screen,
initial_state = ISL_AUX_STATE_PASS_THROUGH;
*alloc_flags |= BO_ALLOC_ZEROED;
break;
+ case ISL_AUX_USAGE_MC:
+ unreachable("Unsupported aux mode");
}
/* Create the aux_state for the auxiliary buffer. */
More information about the mesa-commit
mailing list