Commit 1a8f9180 authored by Timothy Arceri's avatar Timothy Arceri

intel/compiler: add and fix up fallthrough comments for gcc warnings

Reviewed-by: Lionel Landwerlin's avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <!5714>
parent 512db7ec
......@@ -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]);
case 2: copy_bfc(c, c->vert[1]);
case 1: copy_bfc(c, c->vert[0]);
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 */
}
}
brw_ENDIF(p);
......
......@@ -2064,8 +2064,8 @@ brw_disassemble_inst(FILE *file, const struct gen_device_info *devinfo,
format(file, ")");
break;
}
/* FALLTHROUGH */
}
/* FALLTHROUGH */
case GEN7_SFID_PIXEL_INTERPOLATOR:
if (devinfo->gen >= 7) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment