glsl2: Don't claim a match on structure types with different field names.
authorEric Anholt <eric@anholt.net>
Tue, 20 Jul 2010 23:38:23 +0000 (16:38 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 21 Jul 2010 00:30:10 +0000 (17:30 -0700)
commitb6e92ad7da9d4f00607caca90bd0b8853623a493
tree65b8798082c7b959a2b661e8584e4bc3f921bd91
parent094cf8c199930d958d9e1139467eb8579d082df6
glsl2: Don't claim a match on structure types with different field names.

We regularly do lookups on the field names of the structure to find
the types within the struct, so returning a structure type with bad
names will lead to lots of error types being found.
src/glsl/glsl_types.cpp