AtomLinter / linter-glsl

Atom package that lints GLSL shaders on the fly.
https://atom.io/packages/linter-glsl
MIT License
15 stars 6 forks source link

fsh and vsh are unrecognised #24

Closed dotModded closed 8 years ago

dotModded commented 8 years ago

Unknown shader type for vsh and fsh files

andystanton commented 8 years ago

Hi @dotModded

tl;dr this is fixed in linter-glsl 2.0.1 so if you upgrade .vsh and .fsh files will lint again.

Removing support for .vsh and .fsh files was intentional - the glslangValidator docs state that valid shader filename extensions are:

.vert - a vertex shader .tesc - a tessellation control shader .tese - a tessellation evaluation shader .geom - a geometry shader .frag - a fragment shader .comp - a compute shader

So extensions other than these got dropped in linter-glsl 2.0.0.

However, I then realised this was a bad idea and many projects use different shader filename extensions so I added support back for the extensions that were in 1.0.x and a couple of new ones.

The list of supported extensions can be found here

Cheers,

-Andy

dotModded commented 8 years ago

.glsl files are also Unknown

dotModded commented 8 years ago

Sorry never mind. just needs a .f. or .v.