glsl_to_nir: Zero nir_constant in constant_copy for valgrind & nir_serialize
authorJordan Justen <jordan.l.justen@intel.com>
Mon, 2 Oct 2017 07:19:31 +0000 (00:19 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Wed, 25 Oct 2017 19:36:21 +0000 (12:36 -0700)
commit87e71726e0c44871778c3e1428dc81649cd9f292
treed8344f53b7fa96d50c40832946e9d87357b21119
parent16867154d8c7bb6b2b46f00203ed94a4a810abde
glsl_to_nir: Zero nir_constant in constant_copy 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