From 01c04a42a6064a3da74fcd8b68efcd812414deb3 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Mon, 6 Jul 2020 13:02:34 +1000 Subject: iris: fix maybe-uninitialized warning for initial_state variable Reviewed-by: Kenneth Graunke Part-of: --- src/gallium/drivers/iris/iris_resource.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium') diff --git a/src/gallium/drivers/iris/iris_resource.c b/src/gallium/drivers/iris/iris_resource.c index c99b34b6f69..9fdd79aeffe 100644 --- a/src/gallium/drivers/iris/iris_resource.c +++ b/src/gallium/drivers/iris/iris_resource.c @@ -619,6 +619,7 @@ iris_resource_configure_aux(struct iris_screen *screen, *alloc_flags |= BO_ALLOC_ZEROED; break; case ISL_AUX_USAGE_MC: + default: unreachable("Unsupported aux mode"); } -- cgit v1.2.3