From 580fe8995815297faadfa82e1e533a046447a77d Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Wed, 1 Jul 2020 15:50:11 +1000 Subject: [PATCH] radeon: add missing fallthrough comments MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Marek Olšák Part-of: --- src/mesa/drivers/dri/radeon/radeon_maos_verts.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mesa/drivers/dri/radeon/radeon_maos_verts.c b/src/mesa/drivers/dri/radeon/radeon_maos_verts.c index 51a85d17e45..fff6b8d2d05 100644 --- a/src/mesa/drivers/dri/radeon/radeon_maos_verts.c +++ b/src/mesa/drivers/dri/radeon/radeon_maos_verts.c @@ -405,12 +405,15 @@ void radeonEmitArrays( struct gl_context *ctx, GLuint inputs ) switch (VB->AttribPtr[_TNL_ATTRIB_POS]->size) { case 1: _mesa_vector4f_clean_elem(&rmesa->tcl.ObjClean, VB->Count, 1); + /* fallthrough */ case 2: _mesa_vector4f_clean_elem(&rmesa->tcl.ObjClean, VB->Count, 2); + /* fallthrough */ case 3: if (setup_tab[i].vertex_format & RADEON_CP_VC_FRMT_W0) { _mesa_vector4f_clean_elem(&rmesa->tcl.ObjClean, VB->Count, 3); } + /* fallthrough */ case 4: default: break; -- 2.30.2