From a5f2084c1b18d427ce0839341b500bdbe9c2a081 Mon Sep 17 00:00:00 2001 From: Axel Davy Date: Sat, 10 Apr 2021 23:18:20 +0200 Subject: [PATCH] st/nine: Add missing breaks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This makes clang warnings happier. Signed-off-by: Axel Davy Acked-by: Timur Kristóf Part-of: --- src/gallium/frontends/nine/adapter9.c | 1 + src/gallium/frontends/nine/nine_pipe.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/gallium/frontends/nine/adapter9.c b/src/gallium/frontends/nine/adapter9.c index 356cbb6e6dc..3d339d982f2 100644 --- a/src/gallium/frontends/nine/adapter9.c +++ b/src/gallium/frontends/nine/adapter9.c @@ -378,6 +378,7 @@ NineAdapter9_CheckDeviceFormat( struct NineAdapter9 *This, * on NV chips). */ if (Usage == 0) bind |= PIPE_BIND_RENDER_TARGET; /* A current requirement of our impl, which we should get rid of. */ + break; default: break; } diff --git a/src/gallium/frontends/nine/nine_pipe.h b/src/gallium/frontends/nine/nine_pipe.h index 75c9ea402e1..bf741f1be5f 100644 --- a/src/gallium/frontends/nine/nine_pipe.h +++ b/src/gallium/frontends/nine/nine_pipe.h @@ -365,6 +365,7 @@ d3d9_to_pipe_format_checked(struct pipe_screen *screen, return PIPE_FORMAT_NONE; if (format_check_internal(PIPE_FORMAT_R32G32B32X32_FLOAT)) return PIPE_FORMAT_R32G32B32X32_FLOAT; + break; default: break; }