ShaderCore: Use a generalized globalDefs instead of multiple separated defs vector.
ShaderCore: Add struct def and field ref parsing.