Re: [Mesa-dev] [PATCH] glsl: Do not call lhs->variable_referenced() multiple times

2014-05-09 Thread Kenneth Graunke
On 05/08/2014 11:50 PM, Iago Toral Quiroga wrote: > Instead take the result from the first call and use it where needed. > --- > src/glsl/ast_to_hir.cpp | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp > index 7516c33.

[Mesa-dev] [PATCH] glsl: Do not call lhs->variable_referenced() multiple times

2014-05-08 Thread Iago Toral Quiroga
Instead take the result from the first call and use it where needed. --- src/glsl/ast_to_hir.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp index 7516c33..0128b3f 100644 --- a/src/glsl/ast_to_hir.cpp +++ b/src/glsl/ast