From 3cb2438284f102911ab1cd93d1624b1479fb10a2 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Mon, 6 Jul 2020 14:00:30 +1000 Subject: panfrost: add some missing fallthrough comments to bi_pack.c Reviewed-by: Alyssa Rosenzweig Part-of: --- src/panfrost/bifrost/bi_pack.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/panfrost/bifrost/bi_pack.c b/src/panfrost/bifrost/bi_pack.c index b865b2c59c2..96a155dc6a6 100644 --- a/src/panfrost/bifrost/bi_pack.c +++ b/src/panfrost/bifrost/bi_pack.c @@ -719,6 +719,7 @@ bi_cond_to_csel(enum bi_cond cond, bool *flip, bool *invert, nir_alu_type T) switch (cond){ case BI_COND_LT: *flip = true; + /* fallthrough */ case BI_COND_GT: { const enum bifrost_csel_cond ops[] = { BIFROST_FGT_F, @@ -730,6 +731,7 @@ bi_cond_to_csel(enum bi_cond cond, bool *flip, bool *invert, nir_alu_type T) } case BI_COND_LE: *flip = true; + /* fallthrough */ case BI_COND_GE: { const enum bifrost_csel_cond ops[] = { BIFROST_FGE_F, @@ -741,6 +743,7 @@ bi_cond_to_csel(enum bi_cond cond, bool *flip, bool *invert, nir_alu_type T) } case BI_COND_NE: *invert = true; + /* fallthrough */ case BI_COND_EQ: { const enum bifrost_csel_cond ops[] = { BIFROST_FEQ_F, -- cgit v1.2.3