[Mesa-dev] [PATCH 2/5] glsl: Refactor implicit conversion into its own helper

2016-08-04 Thread Andres Gomez
v2: Refactor also the conversion to constant and replacement code (Timothy). Signed-off-by: Andres Gomez --- src/compiler/glsl/ast_function.cpp | 166 +++-- 1 file changed, 86 insertions(+), 80 deletions(-) diff --git a/src/compiler/glsl/ast_function.cpp b/s

Re: [Mesa-dev] [PATCH 2/5] glsl: Refactor implicit conversion into its own helper

2016-08-03 Thread Timothy Arceri
On Wed, 2016-08-03 at 23:51 +0300, Andres Gomez wrote: > Signed-off-by: Andres Gomez > --- >  src/compiler/glsl/ast_function.cpp | 79 +++- > -- >  1 file changed, 47 insertions(+), 32 deletions(-) > > diff --git a/src/compiler/glsl/ast_function.cpp > b/src/compiler

[Mesa-dev] [PATCH 2/5] glsl: Refactor implicit conversion into its own helper

2016-08-03 Thread Andres Gomez
Signed-off-by: Andres Gomez --- src/compiler/glsl/ast_function.cpp | 79 +++--- 1 file changed, 47 insertions(+), 32 deletions(-) diff --git a/src/compiler/glsl/ast_function.cpp b/src/compiler/glsl/ast_function.cpp index 9dcec50..567ad6e 100644 --- a/src/compiler