Commit 745aeba6 authored by Timothy Arceri's avatar Timothy Arceri Committed by Marge Bot
Browse files

etnaviv: add missing fallthrough comments


Reviewed-by: Christian Gmeiner's avatarChristian Gmeiner <christian.gmeiner@gmail.com>
Part-of: <mesa/mesa!5799>
parent 44b1f9c6
......@@ -78,10 +78,13 @@ etna_clear_blit_pack_rgba(enum pipe_format format, const union pipe_color_union
switch (util_format_get_blocksize(format)) {
case 1:
uc.ui[0] = uc.ui[0] << 8 | (uc.ui[0] & 0xff);
/* fallthrough */
case 2:
uc.ui[0] = uc.ui[0] << 16 | (uc.ui[0] & 0xffff);
/* fallthrough */
case 4:
uc.ui[1] = uc.ui[0];
/* fallthrough */
default:
return (uint64_t) uc.ui[1] << 32 | uc.ui[0];
}
......
......@@ -852,6 +852,7 @@ lower_alu(struct etna_compile *c, nir_alu_instr *alu)
need_mov = vec_dest_has_swizzle(alu, &nir_instr_as_intrinsic(instr)->dest.ssa);
break;
}
/* fallthrough */
default:
need_mov = true;
}
......
......@@ -145,6 +145,7 @@ real_dest(nir_dest *dest, unsigned *swiz, unsigned *mask)
nir_instr_as_alu(p_instr)->op == nir_op_mov) {
break;
}
/* fallthrough */
default:
can_bypass_src = false;
break;
......
......@@ -277,6 +277,7 @@ texture_use_int_filter(const struct pipe_sampler_view *sv,
case PIPE_TEXTURE_2D_ARRAY:
if (tex_desc)
break;
/* fallthrough */
case PIPE_TEXTURE_3D:
return false;
default:
......
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