hsimpson / vscode-glsllint

VSCode extension to lint GLSL shading language files
MIT License
80 stars 13 forks source link

Documentation: how to use .glsl file in this extention? #49

Open BoredSathvik opened 2 years ago

BoredSathvik commented 2 years ago

I am very new to graphics programing and am using like rust and vulkano, but I don't know how to use .glsl file in this extension, help would be great

hsimpson commented 2 years ago

Unfortunately the docs, are not mentioning this, sorry for that. There was a change where I have implemented this feature: https://github.com/hsimpson/vscode-glsllint/blob/master/CHANGELOG.md#13x

Long story short: you have to use the compound suffixes in your files to get it working, like:

I will add this to the documentation in the future.