Re: [Mesa-dev] [PATCH 2/7] [RFC] glsl: Fix reading of uninitialized memory

2016-06-07 Thread Ian Romanick
On 06/07/2016 07:26 AM, Juha-Pekka Heikkila wrote: > Switch to use memory allocations which zero memory for places > where needed. This series is in backwards order. Assuming that rzalloc and friends are necessary in these places, if a git-bisect hits the previous patch, a person will (potentiall

[Mesa-dev] [PATCH 2/7] [RFC] glsl: Fix reading of uninitialized memory

2016-06-07 Thread Juha-Pekka Heikkila
Switch to use memory allocations which zero memory for places where needed. Signed-off-by: Juha-Pekka Heikkila --- src/compiler/glsl/ast_to_hir.cpp | 2 +- src/compiler/glsl/glcpp/glcpp-parse.y | 4 ++-- src/compiler/glsl/link_uniform_blocks.cpp | 2 +- src/compiler/glsl_types.cpp