diff options
author | Timothy Arceri <[email protected]> | 2020-07-06 13:02:34 +1000 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-07-08 03:04:03 +0000 |
commit | 01c04a42a6064a3da74fcd8b68efcd812414deb3 (patch) | |
tree | da0608f7f694315b25d2448e6740c3f89464316e /src/gallium/drivers/iris | |
parent | bba766d85db2aa13425036cbbf80ff10d2b49d44 (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>
Diffstat (limited to 'src/gallium/drivers/iris')
-rw-r--r-- | src/gallium/drivers/iris/iris_resource.c | 1 |
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"); } |