From: Timothy Arceri Date: Wed, 1 Jul 2020 05:24:41 +0000 (+1000) Subject: llvmpipe: add missing fallthrough comments X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2ed35c71020823e2d250e7df404c5a4064a2f076;p=mesa.git llvmpipe: add missing fallthrough comments Reviewed-by: Dave Airlie Part-of: --- diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c index 1aa6e46a821..54c4c676e79 100644 --- a/src/gallium/drivers/llvmpipe/lp_screen.c +++ b/src/gallium/drivers/llvmpipe/lp_screen.c @@ -424,6 +424,7 @@ llvmpipe_get_shader_param(struct pipe_screen *screen, case PIPE_SHADER_COMPUTE: if ((LP_DEBUG & DEBUG_CL) && param == PIPE_SHADER_CAP_SUPPORTED_IRS) return (1 << PIPE_SHADER_IR_TGSI) | (1 << PIPE_SHADER_IR_NIR) | (1 << PIPE_SHADER_IR_NIR_SERIALIZED); + /* fallthrough */ case PIPE_SHADER_FRAGMENT: if (param == PIPE_SHADER_CAP_PREFERRED_IR) { if (lscreen->use_tgsi) @@ -435,11 +436,13 @@ llvmpipe_get_shader_param(struct pipe_screen *screen, default: return gallivm_get_shader_param(param); } + /* fallthrough */ case PIPE_SHADER_TESS_CTRL: case PIPE_SHADER_TESS_EVAL: /* Tessellation shader needs llvm coroutines support */ if (!GALLIVM_HAVE_CORO || lscreen->use_tgsi) return 0; + /* fallthrough */ case PIPE_SHADER_VERTEX: case PIPE_SHADER_GEOMETRY: if (param == PIPE_SHADER_CAP_PREFERRED_IR) {