[Mesa-dev] [PATCH] glsl: add missing blend_support qualifier in validate_flags()

Andres Gomez agomez at igalia.com
Fri Feb 24 09:13:24 UTC 2017


This is:

Reviewed-by: Andres Gomez <agomez at igalia.com>

On Thu, 2017-02-23 at 19:17 +0100, Samuel Pitoiset wrote:
> Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
> ---
>  src/compiler/glsl/ast_type.cpp | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/src/compiler/glsl/ast_type.cpp b/src/compiler/glsl/ast_type.cpp
> index 580d216b30..96d20c10af 100644
> --- a/src/compiler/glsl/ast_type.cpp
> +++ b/src/compiler/glsl/ast_type.cpp
> @@ -715,7 +715,7 @@ ast_type_qualifier::validate_flags(YYLTYPE *loc,
>                      "%s '%s':"
>                      "%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s"
>                      "%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s"
> -                    "%s%s%s%s%s%s%s%s%s%s%s%s%s\n",
> +                    "%s%s%s%s%s%s%s%s%s%s%s%s%s%s\n",
>                      message, name,
>                      bad.flags.q.invariant ? " invariant" : "",
>                      bad.flags.q.precise ? " precise" : "",
> @@ -773,6 +773,7 @@ ast_type_qualifier::validate_flags(YYLTYPE *loc,
>                      bad.flags.q.vertices ? " vertices" : "",
>                      bad.flags.q.subroutine ? " subroutine" : "",
>                      bad.flags.q.subroutine_def ? " subroutine_def" : "",
> +                    bad.flags.q.blend_support ? " blend_support" : "",
>                      bad.flags.q.inner_coverage ? " inner_coverage" : "",
>                      bad.flags.q.post_depth_coverage ? " post_depth_coverage" : "");
>     return false;
-- 
Br,

Andres


More information about the mesa-dev mailing list