Re: [Mesa-dev] [PATCH] glsl: fix Bug 85252 - Segfault in compiler while processing ternary operator with void arguments

2015-07-12 Thread Renaud Gaubert
sn't add any regression? Yes I have. It doesn't -- Renaud Gaubert ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH v2] glsl: avoid compiler's segfault when processing operators with void arguments

2015-07-11 Thread Renaud Gaubert
* comparison operators (except equal and nequal operator) Equal and nequal had to be handled as a special case because instead of segfaulting on a forbidden syntax it was now accepting expressions with a void return value on either (or both) side of the expression. Signed-off-by: Renaud Gaubert

[Mesa-dev] [PATCH] glsl: fix Bug 85252 - Segfault in compiler while processing ternary operator with void arguments

2015-07-09 Thread Renaud Gaubert
way Signed-off-by: Renaud Gaubert Reviewed-by: Gabriel Laskar Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=85252 --- src/glsl/ast_function.cpp | 7 ++- src/glsl/ast_to_hir.cpp | 10 +- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/glsl

[Mesa-dev] [PATCH] glsl: fix Bug 85252 - Segfault in compiler while processing ternary operator with void arguments

2015-07-09 Thread Renaud Gaubert
way Signed-off-by: Renaud Gaubert Reviewed-by: Gabriel Laskar Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=85252 --- src/glsl/ast_function.cpp | 6 +- src/glsl/ast_to_hir.cpp | 10 +- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/glsl/ast_function.cpp

[Mesa-dev] [PATCH] glsl: fix Bug 85252 - Segfault in compiler while processing ternary operator with void arguments

2015-07-07 Thread Renaud Gaubert
way Signed-off-by: Renaud Gaubert Reviewed-by: Gabriel Laskar Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=85252 --- src/glsl/ast_function.cpp | 6 +- src/glsl/ast_to_hir.cpp | 10 +- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/glsl/ast_function.cpp