Mesa (master): panfrost: add some missing fallthrough comments to bi_pack.c
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Jul 8 03:41:53 UTC 2020
Module: Mesa
Branch: master
Commit: 3cb2438284f102911ab1cd93d1624b1479fb10a2
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3cb2438284f102911ab1cd93d1624b1479fb10a2
Author: Timothy Arceri <tarceri at itsqueeze.com>
Date: Mon Jul 6 14:00:30 2020 +1000
panfrost: add some missing fallthrough comments to bi_pack.c
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5766>
---
src/panfrost/bifrost/bi_pack.c | 3 +++
1 file changed, 3 insertions(+)
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,
More information about the mesa-commit
mailing list