glsl: move fallthrough comment to where gcc can see it
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 1 Jul 2020 05:40:51 +0000 (15:40 +1000)
committerMarge Bot <eric+marge@anholt.net>
Thu, 2 Jul 2020 23:52:52 +0000 (23:52 +0000)
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5705>

src/compiler/glsl/gl_nir_linker.c

index c0cd587d0a11bb67b60a5ec1d36ad70f157fdcda..4a7a31629b825ea5e5fc402241dc68704533c82b 100644 (file)
@@ -287,8 +287,8 @@ add_shader_variable(const struct gl_context *ctx,
          }
          return true;
       }
-      /* fallthrough */
    }
+   /* fallthrough */
 
    default: {
       /* The ARB_program_interface_query spec says: