hadronized / glsl

GLSL parser for Rust
191 stars 27 forks source link

Add compatibility profile storage qualifiers. #107

Closed TannerRogalsky closed 4 years ago

TannerRogalsky commented 4 years ago

According to the spec, GLSL 4.50 supports attribute and varying storage qualifiers in compatibility mode. This is useful particularly when parsing WebGL shaders where those qualifiers are still widely used.

I'm very open to any suggestions or criticisms of this PR. Thanks in advance!

hadronized commented 4 years ago

Ah, compatibility profile. Great call. Thank you!