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:
parent
bba766d85d
commit
01c04a42a6
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue