glsl: add fallthrough comment on switch
authorTapani Pälli <tapani.palli@intel.com>
Tue, 21 Apr 2015 05:25:16 +0000 (08:25 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Tue, 21 Apr 2015 11:38:10 +0000 (14:38 +0300)
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-By: Martin Peres <martin.peres@linux.intel.com>
src/glsl/linker.cpp

index b6baa5d36f007860fe74ebc7da984c957d6393b9..9aa138984c970111df4535c4cce06bb17b79f3c4 100644 (file)
@@ -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;