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
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
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