Re: [Mesa-dev] [PATCH] glsl: Move error message inside validation check reducing duplicate message handling

2013-10-27 Thread Paul Berry
On 26 October 2013 00:47, Timothy Arceri t_arc...@yahoo.com.au wrote: On Fri, 2013-10-25 at 14:51 -0700, Paul Berry wrote: + _mesa_glsl_error(loc, state, +is_initializer ? initializer : value + of type %s cannot be assigned to

Re: [Mesa-dev] [PATCH] glsl: Move error message inside validation check reducing duplicate message handling

2013-10-26 Thread Timothy Arceri
On Fri, 2013-10-25 at 14:51 -0700, Paul Berry wrote: +   _mesa_glsl_error(loc, state, +    is_initializer ? initializer : value +    of type %s cannot be assigned to +    variable of type %s, +  

Re: [Mesa-dev] [PATCH] glsl: Move error message inside validation check reducing duplicate message handling

2013-10-25 Thread Paul Berry
On 17 October 2013 04:42, Timothy Arceri t_arc...@yahoo.com.au wrote: --- src/glsl/ast_to_hir.cpp | 27 ++- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp index dfa32d9..f96ed53 100644 ---

[Mesa-dev] [PATCH] glsl: Move error message inside validation check reducing duplicate message handling

2013-10-17 Thread Timothy Arceri
--- src/glsl/ast_to_hir.cpp | 27 ++- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp index dfa32d9..f96ed53 100644 --- a/src/glsl/ast_to_hir.cpp +++ b/src/glsl/ast_to_hir.cpp @@ -637,8 +637,8 @@