From: Tapani Pälli Date: Tue, 21 Apr 2015 05:25:16 +0000 (+0300) Subject: glsl: add fallthrough comment on switch X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5917ca349ae88b35779179a6a0d949ec910bc680;p=mesa.git glsl: add fallthrough comment on switch Signed-off-by: Tapani Pälli Reviewed-By: Martin Peres --- diff --git a/src/glsl/linker.cpp b/src/glsl/linker.cpp index b6baa5d36f0..9aa138984c9 100644 --- a/src/glsl/linker.cpp +++ b/src/glsl/linker.cpp @@ -2570,7 +2570,8 @@ add_interface_variables(struct gl_shader_program *shProg, if (var->data.location != SYSTEM_VALUE_VERTEX_ID && var->data.location != SYSTEM_VALUE_VERTEX_ID_ZERO_BASE && var->data.location != SYSTEM_VALUE_INSTANCE_ID) - continue; + continue; + /* FALLTHROUGH */ case ir_var_shader_in: if (programInterface != GL_PROGRAM_INPUT) continue;