st/nine: Add missing breaks
This makes clang warnings happier. Signed-off-by: Axel Davy <davyaxel0@gmail.com> Acked-by: Timur Kristóf <timur.kristof@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10160>
This commit is contained in:
parent
29cc19e54f
commit
a5f2084c1b
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue