glsl: Fix reading of uninitialized memory
authorJuha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Thu, 13 Oct 2016 10:43:29 +0000 (13:43 +0300)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 31 Oct 2016 10:53:38 +0000 (11:53 +0100)
commit6770b17b9994942b4bd39fcdb493c2b0866bceaf
tree40890b8ec94df6195c2c3aa1b8be308c6c8b4fd4
parentf67c5a7ccd6f4ef9e1c095971a7f432cbcbbb509
glsl: Fix reading of uninitialized memory

Switch to use memory allocations which zero memory for places
where needed.

v2: modify and rebase on top of Marek's series (Tapani)

Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/compiler/glsl/linker.cpp
src/compiler/glsl_types.cpp