[Mesa-dev] [PATCH] glsl: fix compile error message

Anuj Phogat anuj.phogat at gmail.com
Fri Jun 12 16:56:09 PDT 2015


On Fri, Jun 12, 2015 at 3:30 AM, Timothy Arceri <t_arceri at yahoo.com.au> wrote:
> ---
>  src/glsl/ast_to_hir.cpp | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp
> index 350f6ed..578711a 100644
> --- a/src/glsl/ast_to_hir.cpp
> +++ b/src/glsl/ast_to_hir.cpp
> @@ -3644,7 +3644,7 @@ ast_declarator_list::hir(exec_list *instructions,
>              if (check_type->is_record() || check_type->is_matrix())
>                 _mesa_glsl_error(&loc, state,
>                                  "fragment shader output "
> -                                "cannot have struct or array type");
> +                                "cannot have struct or matrix type");
>              switch (check_type->base_type) {
>              case GLSL_TYPE_UINT:
>              case GLSL_TYPE_INT:
> --
> 2.1.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>


More information about the mesa-dev mailing list