glsl: initialize glsl_struct_field properly
authorMarek Olšák <marek.olsak@amd.com>
Fri, 7 Oct 2016 16:34:13 +0000 (18:34 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 31 Oct 2016 10:53:38 +0000 (11:53 +0100)
commitf67c5a7ccd6f4ef9e1c095971a7f432cbcbbb509
treea56b03328c9848b4cd546444ee20037d13c7aba9
parent330482177c45dceb71e5787c1a7e7fc87308c144
glsl: initialize glsl_struct_field properly

don't rely on ralloc doing memset

Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Tested-by: Edmondo Tommasina <edmondo.tommasina@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Kenneth Graunke <kenneth@whiteacpe.org>
src/compiler/glsl_types.cpp
src/compiler/glsl_types.h