aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2020-07-06 13:02:34 +1000
committerMarge Bot <[email protected]>2020-07-08 03:04:03 +0000
commit01c04a42a6064a3da74fcd8b68efcd812414deb3 (patch)
treeda0608f7f694315b25d2448e6740c3f89464316e
parentbba766d85db2aa13425036cbbf80ff10d2b49d44 (diff)
iris: fix maybe-uninitialized warning for initial_state variable
Reviewed-by: Kenneth Graunke <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5766>
-rw-r--r--src/gallium/drivers/iris/iris_resource.c1
1 files changed, 1 insertions, 0 deletions
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");
}