diff options
author | Tapani Pälli <[email protected]> | 2015-04-21 08:25:16 +0300 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2015-04-21 14:38:10 +0300 |
commit | 5917ca349ae88b35779179a6a0d949ec910bc680 (patch) | |
tree | b169c7d60c902269ce983d571cca33e3d5be2233 | |
parent | 054c7dc7eb091e631a01ade3e6a46d6cc77fc9f3 (diff) |
glsl: add fallthrough comment on switch
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-By: Martin Peres <[email protected]>
-rw-r--r-- | src/glsl/linker.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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; |