aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2020-07-01 15:40:51 +1000
committerMarge Bot <[email protected]>2020-07-02 23:52:52 +0000
commitf692131641f76973ab0983ac51f821c2f4f57c96 (patch)
treeb58360e5e6ca85d9ae9da2277cf7373784a389b4
parentbf3fc3cf3d5dbf9f337a137d7715a8b88961fe3d (diff)
glsl: move fallthrough comment to where gcc can see it
Reviewed-by: Marek Olšák <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5705>
-rw-r--r--src/compiler/glsl/gl_nir_linker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/gl_nir_linker.c b/src/compiler/glsl/gl_nir_linker.c
index c0cd587d0a1..4a7a31629b8 100644
--- a/src/compiler/glsl/gl_nir_linker.c
+++ b/src/compiler/glsl/gl_nir_linker.c
@@ -287,8 +287,8 @@ add_shader_variable(const struct gl_context *ctx,
}
return true;
}
- /* fallthrough */
}
+ /* fallthrough */
default: {
/* The ARB_program_interface_query spec says: