Re: [Mesa-dev] [PATCH v4 (part2) 49/59] glsl: Do not allow assignments to read-only variables

2015-08-08 Thread Francisco Jerez
Iago Toral ito...@igalia.com writes: On Wed, 2015-08-05 at 22:22 +1000, Timothy Arceri wrote: On Wed, 2015-08-05 at 13:45 +0200, Iago Toral wrote: On Wed, 2015-08-05 at 20:04 +1000, Timothy Arceri wrote: On Wed, 2015-08-05 at 10:30 +0200, Iago Toral Quiroga wrote: ---

Re: [Mesa-dev] [PATCH v4 (part2) 49/59] glsl: Do not allow assignments to read-only variables

2015-08-08 Thread Timothy Arceri
On Sat, 2015-08-08 at 14:25 +0300, Francisco Jerez wrote: Iago Toral ito...@igalia.com writes: On Wed, 2015-08-05 at 22:22 +1000, Timothy Arceri wrote: On Wed, 2015-08-05 at 13:45 +0200, Iago Toral wrote: On Wed, 2015-08-05 at 20:04 +1000, Timothy Arceri wrote: On Wed, 2015-08-05

[Mesa-dev] [PATCH v4 (part2) 49/59] glsl: Do not allow assignments to read-only variables

2015-08-05 Thread Iago Toral Quiroga
--- src/glsl/ast_to_hir.cpp | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp index e834a46..518612d 100644 --- a/src/glsl/ast_to_hir.cpp +++ b/src/glsl/ast_to_hir.cpp @@ -811,8 +811,15 @@ do_assignment(exec_list

Re: [Mesa-dev] [PATCH v4 (part2) 49/59] glsl: Do not allow assignments to read-only variables

2015-08-05 Thread Timothy Arceri
On Wed, 2015-08-05 at 10:30 +0200, Iago Toral Quiroga wrote: --- src/glsl/ast_to_hir.cpp | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp index e834a46..518612d 100644 --- a/src/glsl/ast_to_hir.cpp +++

Re: [Mesa-dev] [PATCH v4 (part2) 49/59] glsl: Do not allow assignments to read-only variables

2015-08-05 Thread Iago Toral
On Wed, 2015-08-05 at 20:04 +1000, Timothy Arceri wrote: On Wed, 2015-08-05 at 10:30 +0200, Iago Toral Quiroga wrote: --- src/glsl/ast_to_hir.cpp | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp index

Re: [Mesa-dev] [PATCH v4 (part2) 49/59] glsl: Do not allow assignments to read-only variables

2015-08-05 Thread Timothy Arceri
On Wed, 2015-08-05 at 13:45 +0200, Iago Toral wrote: On Wed, 2015-08-05 at 20:04 +1000, Timothy Arceri wrote: On Wed, 2015-08-05 at 10:30 +0200, Iago Toral Quiroga wrote: --- src/glsl/ast_to_hir.cpp | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git

Re: [Mesa-dev] [PATCH v4 (part2) 49/59] glsl: Do not allow assignments to read-only variables

2015-08-05 Thread Timothy Arceri
On Wed, 2015-08-05 at 22:22 +1000, Timothy Arceri wrote: On Wed, 2015-08-05 at 13:45 +0200, Iago Toral wrote: On Wed, 2015-08-05 at 20:04 +1000, Timothy Arceri wrote: On Wed, 2015-08-05 at 10:30 +0200, Iago Toral Quiroga wrote: --- src/glsl/ast_to_hir.cpp | 9 - 1 file

Re: [Mesa-dev] [PATCH v4 (part2) 49/59] glsl: Do not allow assignments to read-only variables

2015-08-05 Thread Iago Toral
On Wed, 2015-08-05 at 22:22 +1000, Timothy Arceri wrote: On Wed, 2015-08-05 at 13:45 +0200, Iago Toral wrote: On Wed, 2015-08-05 at 20:04 +1000, Timothy Arceri wrote: On Wed, 2015-08-05 at 10:30 +0200, Iago Toral Quiroga wrote: --- src/glsl/ast_to_hir.cpp | 9 - 1 file