Mesa (master): glsl: move fallthrough comment to where gcc can see it
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Jul 3 00:33:04 UTC 2020
Module: Mesa
Branch: master
Commit: f692131641f76973ab0983ac51f821c2f4f57c96
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f692131641f76973ab0983ac51f821c2f4f57c96
Author: Timothy Arceri <tarceri at itsqueeze.com>
Date: Wed Jul 1 15:40:51 2020 +1000
glsl: move fallthrough comment to where gcc can see it
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5705>
---
src/compiler/glsl/gl_nir_linker.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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:
More information about the mesa-commit
mailing list