glsl_to_nir: Zero nir_variable struct for valgrind & nir_serialize
authorJordan Justen <jordan.l.justen@intel.com>
Mon, 2 Oct 2017 07:17:22 +0000 (00:17 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Wed, 25 Oct 2017 19:36:21 +0000 (12:36 -0700)
commit16867154d8c7bb6b2b46f00203ed94a4a810abde
treec74300ff24b941a576b5ef2d156e9ee4ab791748
parent78550869a1e0892e7950eafcde805e8b9e749801
glsl_to_nir: Zero nir_variable struct for valgrind & nir_serialize

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/glsl/glsl_to_nir.cpp