linter-glsl
linter-glsl copied to clipboard
[WIP]glslify support
It's still experimental. Please give me some advice if you are interested 😸
https://github.com/stackgl/glslify/issues/95
Changes
- Added
Use glslify
to config - Uses forked version of glslify to generate sourcemaps
It parses sourcemaps and shows the error line (almost) correctly.
This is a very interesting idea, I'm not too sure about moving forward with it here though until support is more baked into the tools behind this.
Thoughts @andystanton?
@fand @Arcanemagus I think this is a fantastic idea.
As you've already discussed, the sourcemap work needs to be merged in glslify first, but then we can definitely take a look at the best way to integrate it.
I would embrace making glslify
linting the default as it will work out of the box, but still give the user the option to use glslangValidator
if they prefer to have official Khronos validation.