Open dortamiguel opened 2 years ago
Normally this will not work, because for the underlying linting glslangValidator
executable is used. And for linting the stage (e.g. vertex or fragment) must be given.
But depending on your use case and how you using your shaders it can be possible to use it within string literals in JavaScript for example.
I was thinking to merge vertex and fragment shaders into just one file, though I think this will break the linting of this plugin.
There is any way I can merge in one file both while also keeping the linting working?