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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user