stackgl / glsl-transpiler

Transpile GLSL to JS
http://stackgl.github.io/glsl-transpiler/
175 stars 21 forks source link

Propagate constants #16

Open dy opened 8 years ago

dy commented 8 years ago

Provide constants propagation. It should be enough substituting identifiers wit the initial variable value. Same logic is applicable to inferrable variables - keep actual value through assignations