panfrost: add some missing fallthrough comments to bi_pack.c

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5766>
This commit is contained in:
Timothy Arceri
2020-07-06 14:00:30 +10:00
committed by Marge Bot
parent 2286c9ac21
commit 3cb2438284

View File

@@ -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,