glsl_type: initialize offset and location to -1 for glsl_struct_field
authorKarol Herbst <kherbst@redhat.com>
Sat, 9 Feb 2019 00:22:27 +0000 (01:22 +0100)
committerKarol Herbst <kherbst@redhat.com>
Sat, 9 Feb 2019 12:52:15 +0000 (13:52 +0100)
commit49397a3c840b38f8c65705dd05d642c0beb4dea9
treee6bfdc8bfc84a37119e1d48c2dcaade12a3faa3d
parent55e00a2ea8bb21ea0a3b1970bb112e4f44141f10
glsl_type: initialize offset and location to -1 for glsl_struct_field

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/glsl_types.h