Re: [Mesa-dev] [PATCH] glsl: set mask via initialization list rather than in constructor body

2017-05-20 Thread Samuel Pitoiset
On 05/20/2017 07:05 AM, Timothy Arceri wrote: Potentially more efficient as is may avoid the struct being initialised twice. --- src/compiler/glsl/ir.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/compiler/glsl/ir.cpp b/src/compiler/glsl/ir.cpp index

[Mesa-dev] [PATCH] glsl: set mask via initialization list rather than in constructor body

2017-05-19 Thread Timothy Arceri
Potentially more efficient as is may avoid the struct being initialised twice. --- src/compiler/glsl/ir.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/compiler/glsl/ir.cpp b/src/compiler/glsl/ir.cpp index 123de99..e55635b 100644 --- a/src/compiler/glsl/ir.cpp +++