iris: fix maybe-uninitialized warning for initial_state variable

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5766>
This commit is contained in:
Timothy Arceri 2020-07-06 13:02:34 +10:00 committed by Marge Bot
parent bba766d85d
commit 01c04a42a6
1 changed files with 1 additions and 0 deletions

View File

@ -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");
}