Convert most remaining free-form fall-through comments to FALLTHROUGH
One exception is src/amd/addrlib/, for which -Wimplicit-fallthrough is explicitly disabled. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com> Reviewed-by: Juan A. Suarez <jasuarez@igalia.com> Reviewed-by: Gert Wollny <gert.wollny@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10220>
This commit is contained in:
@@ -167,9 +167,9 @@ static void do_twoside_color( struct brw_sf_compile *c )
|
||||
brw_IF(p, BRW_EXECUTE_4);
|
||||
{
|
||||
switch (c->nr_verts) {
|
||||
case 3: copy_bfc(c, c->vert[2]); /* fallthrough */
|
||||
case 2: copy_bfc(c, c->vert[1]); /* fallthrough */
|
||||
case 1: copy_bfc(c, c->vert[0]); /* fallthrough */
|
||||
case 3: copy_bfc(c, c->vert[2]); FALLTHROUGH;
|
||||
case 2: copy_bfc(c, c->vert[1]); FALLTHROUGH;
|
||||
case 1: copy_bfc(c, c->vert[0]);
|
||||
}
|
||||
}
|
||||
brw_ENDIF(p);
|
||||
|
Reference in New Issue
Block a user