glsl: Initialize data in read_constant.
authorVinson Lee <vlee@vmware.com>
Sun, 29 Aug 2010 18:48:02 +0000 (11:48 -0700)
committerVinson Lee <vlee@vmware.com>
Sun, 29 Aug 2010 18:48:02 +0000 (11:48 -0700)
commitb43611b79c1f0a5caff80c17c9e7840a718f07c9
tree13cf18c136d3834400fda225338234eaed772fec
parent0a46497a4ee3325fab47929cb17cfe2525e1fc33
glsl: Initialize data in read_constant.

Completely initialize data that is passed into a ir_constant constructor.

Fixes piglit glsl-fs-mix valgrind uninitialized variable error on
softpipe and llvmpipe.
src/glsl/ir_reader.cpp