kmcallister / glassful

Rust-like syntax for OpenGL Shading Language
Apache License 2.0
171 stars 14 forks source link

Check shader code using glslang #4

Open kmcallister opened 9 years ago

kmcallister commented 9 years ago

which is the reference compiler for GLSL.

This will catch type errors, undefined names, as well as syntax problems the frontend won't catch.

glium already has glslang integration of some kind.

We should map errors back to the source code and print them as spans.