Commit a8a88a8d authored by Michel Dänzer's avatar Michel Dänzer Committed by Marge Bot
Browse files

llvmpipe: Drop switch with only default case



Replace it with the default case contents.

Avoids clang warning about the fall-through annotation.
Reviewed-by: Emma Anholt's avatarEric Anholt <eric@anholt.net>
Part-of: <mesa/mesa!10220>
parent 9ef53724
......@@ -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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment