From: Eric Anholt Date: Tue, 17 Dec 2019 05:17:17 +0000 (-0800) Subject: iris: Silence warning about AUX_USAGE_MC. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=096921c878a1eeb2d092c49170e3584d0f2f0f5a;p=mesa.git 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: --- 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. */