freedreno: Fixes warning [-Wimplicit-fallthrough] in fd6_emit.c

Warning message:
../src/gallium/drivers/freedreno/a6xx/fd6_emit.c:177:13: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18204>
This commit is contained in:
Yonggang Luo 2022-08-23 13:24:31 +08:00 committed by Marge Bot
parent fbb58d6df5
commit 1bfa7f729c

View file

@ -173,7 +173,7 @@ setup_border_colors(struct fd_texture_stateobj *tex,
clamped = CLAMP(bc->ui[j], 0, 65535);
break;
default:
assert(!"Unexpected bit size");
unreachable("Unexpected bit size");
case 32:
clamped = 0;
break;