nine: Fixes compile of nine_pipe.h with clang

../../src/gallium/frontends/nine/nine_pipe.h:377:9: error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
        default:
        ^
../../src/gallium/frontends/nine/nine_pipe.h:377:9: note: insert 'break;' to avoid fall-through
        default:

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18024>
This commit is contained in:
Yonggang Luo 2022-08-07 21:20:00 +08:00 committed by Marge Bot
parent b5b855149c
commit 41af9bc0a5

View file

@ -374,6 +374,7 @@ d3d9_to_pipe_format_checked(struct pipe_screen *screen,
return PIPE_FORMAT_NONE;
if (format_check_internal(PIPE_FORMAT_R8G8B8X8_UNORM))
return PIPE_FORMAT_R8G8B8X8_UNORM;
break;
default:
break;
}