Test struct type matching for uniforms.
Merge pull request #482 from zhenyao/match

Test struct type matching for uniforms.