mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 20:00:11 +01:00
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:
parent
fbb58d6df5
commit
1bfa7f729c
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue