Re: [Mesa-dev] [PATCH] glsl: mark variable as loop constant when it is set read only

2014-09-10 Thread Tapani
On 09/10/2014 09:32 AM, Francisco Jerez wrote: Tapani Pälli writes: Patch modifies is_loop_constant() to take advantage of 'read_only' bit in ir_variable to detect a loop constant. Variables marked read-only are loop constant like mentioned by a comment in the function. Signed-off-by: Tapani

Re: [Mesa-dev] [PATCH] glsl: mark variable as loop constant when it is set read only

2014-09-09 Thread Francisco Jerez
Tapani Pälli writes: > Patch modifies is_loop_constant() to take advantage of 'read_only' bit > in ir_variable to detect a loop constant. Variables marked read-only > are loop constant like mentioned by a comment in the function. > > Signed-off-by: Tapani Pälli > Bugzilla: https://bugs.freedeskt

Re: [Mesa-dev] [PATCH] glsl: mark variable as loop constant when it is set read only

2014-09-09 Thread Anuj Phogat
On Tue, Sep 9, 2014 at 4:56 AM, Tapani Pälli wrote: > Patch modifies is_loop_constant() to take advantage of 'read_only' bit > in ir_variable to detect a loop constant. Variables marked read-only > are loop constant like mentioned by a comment in the function. > > Signed-off-by: Tapani Pälli > Bu

[Mesa-dev] [PATCH] glsl: mark variable as loop constant when it is set read only

2014-09-09 Thread Tapani Pälli
Patch modifies is_loop_constant() to take advantage of 'read_only' bit in ir_variable to detect a loop constant. Variables marked read-only are loop constant like mentioned by a comment in the function. Signed-off-by: Tapani Pälli Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82537 ---