From 096921c878a1eeb2d092c49170e3584d0f2f0f5a Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 16 Dec 2019 21:17:17 -0800 Subject: 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 Reviewed-by: Alyssa Rosenzweig Part-of: --- src/gallium/drivers/iris/iris_resource.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium') 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. */ -- cgit v1.2.3