aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2020-07-06 14:00:30 +1000
committerMarge Bot <[email protected]>2020-07-08 03:04:03 +0000
commit3cb2438284f102911ab1cd93d1624b1479fb10a2 (patch)
treea72c1b3690f8c8e17184e8dbfa838ea2544a6b85 /src
parent2286c9ac21cf7398a7c7709c57954c81ad4083db (diff)
panfrost: add some missing fallthrough comments to bi_pack.c
Reviewed-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5766>
Diffstat (limited to 'src')
-rw-r--r--src/panfrost/bifrost/bi_pack.c3
1 files changed, 3 insertions, 0 deletions
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,