From 8d6deb40733f24373cbec0eafd3be3293e4928e4 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Tue, 11 Mar 2025 22:45:28 -0400 Subject: [PATCH] glsl: Add missing break Reported by clang's `-Wimplicit-fallthrough`. Fixes: 328c29d6007 ("mesa,glsl,gallium: add GL_OVR_multiview") Reviewed-by: Caio Oliveira Part-of: --- src/compiler/glsl/ast_type.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/glsl/ast_type.cpp b/src/compiler/glsl/ast_type.cpp index a273eecf778..36acf7f00d0 100644 --- a/src/compiler/glsl/ast_type.cpp +++ b/src/compiler/glsl/ast_type.cpp @@ -642,7 +642,7 @@ ast_type_qualifier::validate_in_qualifier(YYLTYPE *loc, valid_in_mask.flags.q.explicit_numviews = 1; break; } - + break; case MESA_SHADER_TESS_EVAL: if (this->flags.q.prim_type) { /* Make sure this is a valid input primitive type. */