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:
@@ -778,7 +778,7 @@ fs_visitor::try_constant_propagate(fs_inst *inst, acp_entry *entry)
|
||||
/* FINISHME: Promote non-float constants and remove this. */
|
||||
if (devinfo->ver < 8)
|
||||
break;
|
||||
/* fallthrough */
|
||||
FALLTHROUGH;
|
||||
case SHADER_OPCODE_POW:
|
||||
/* Allow constant propagation into src1 (except on Gen 6 which
|
||||
* doesn't support scalar source math), and let constant combining
|
||||
@@ -786,7 +786,7 @@ fs_visitor::try_constant_propagate(fs_inst *inst, acp_entry *entry)
|
||||
*/
|
||||
if (devinfo->ver == 6)
|
||||
break;
|
||||
/* fallthrough */
|
||||
FALLTHROUGH;
|
||||
case BRW_OPCODE_BFI1:
|
||||
case BRW_OPCODE_ASR:
|
||||
case BRW_OPCODE_SHL:
|
||||
|
Reference in New Issue
Block a user