mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
radeon: add missing fallthrough comments
Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5705>
This commit is contained in:
parent
f692131641
commit
580fe89958
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue