[Mesa-dev] [PATCH 1/5] glsl: prevent spurious Valgrind errors when serializing NIR

2018-04-11 Thread Nicolai Hähnle
From: Nicolai Hähnle It looks as if the structure fields array is fully initialized below, but in fact at least gcc in debug builds will not actually overwrite the unused bits of bit fields. --- src/compiler/glsl_types.cpp | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a

Re: [Mesa-dev] [PATCH 1/5] glsl: prevent spurious Valgrind errors when serializing NIR

2018-04-11 Thread Timothy Arceri
Reviewed-by: Timothy Arceri On 11/04/18 20:56, Nicolai Hähnle wrote: From: Nicolai Hähnle It looks as if the structure fields array is fully initialized below, but in fact at least gcc in debug builds will not actually overwrite the unused bits of bit fields. --- src/compiler/glsl_types.cpp