glsl: init packed in more constructors.
authorDave Airlie <airlied@redhat.com>
Fri, 17 May 2019 01:23:36 +0000 (11:23 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 17 May 2019 02:33:09 +0000 (12:33 +1000)
commitb2d4d08a5cae29759bdbd4ac4e942ea372fe7735
tree88507d28deb847414cdd5f1eb3d53725139ad4fc
parent81d3262fa57f70af754e7edddb48ad96e6751fb1
glsl: init packed in more constructors.

src/compiler/glsl_types.cpp:577: uninit_member: Non-static class member "packed" is not initialized in this constructor nor in any functions that it calls.

from Coverity.

Fixes: 659f333b3a4 (glsl: add packed for struct types)
Acked-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/compiler/glsl_types.cpp