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

Warning message:
../src/gallium/drivers/freedreno/a5xx/fd5_emit.c:272: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:23:39 +08:00 committed by Marge Bot
parent 7fda8d149b
commit fbb58d6df5

View file

@ -268,7 +268,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;