[Mesa-dev] [PATCH 2/2] glsl: fix error message for redeclaring gl_PerVertex as output

Brian Paul brianp at vmware.com
Tue Sep 9 07:25:11 PDT 2014


On 09/09/2014 01:55 AM, Chris Forbes 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 897505c..62122b7 100644
> --- a/src/glsl/ast_to_hir.cpp
> +++ b/src/glsl/ast_to_hir.cpp
> @@ -5455,7 +5455,7 @@ ast_interface_block::hir(exec_list *instructions,
>            }
>            if (this->instance_name != NULL) {
>               _mesa_glsl_error(&loc, state,
> -                             "gl_PerVertex input may not be redeclared with "
> +                             "gl_PerVertex output may not be redeclared with "
>                                "an instance name");
>            }
>            break;
>

Reviewed-by: Brian Paul <brianp at vmware.com>



More information about the mesa-dev mailing list