mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
llvmpipe: Drop switch with only default case
Replace it with the default case contents. Avoids clang warning about the fall-through annotation. Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10220>
This commit is contained in:
parent
9ef5372441
commit
a8a88a8d39
1 changed files with 2 additions and 5 deletions
|
|
@ -377,11 +377,8 @@ llvmpipe_get_shader_param(struct pipe_screen *screen,
|
|||
else
|
||||
return PIPE_SHADER_IR_NIR;
|
||||
}
|
||||
switch (param) {
|
||||
default:
|
||||
return gallivm_get_shader_param(param);
|
||||
}
|
||||
FALLTHROUGH;
|
||||
|
||||
return gallivm_get_shader_param(param);
|
||||
case PIPE_SHADER_TESS_CTRL:
|
||||
case PIPE_SHADER_TESS_EVAL:
|
||||
/* Tessellation shader needs llvm coroutines support */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue