GLSL: cgc - novaez/syntastic GitHub Wiki

Maintainer: Joshua Rahm [email protected]

cgc is a compiler ithat translates Cg or GLSL programs into OpenGL or DirectX code. See the manual for more details.

Checker Options:

Put the magic comment // profile: followed by the profile for cgc to use. For example, use // profile: glslf to force the fragment shader profile.

If the magic comment does not exist, then the dictionary g:syntastic_glsl_extensions is used to infer the appropriate profile from the current file's extension. If this dictionary does not exist either, a default dictionary is used instead. Finally, if the current file's extension can't be found in these dictionaries, the checker assumes a vertex shader profile.

The variable g:syntastic_glsl_options can be used to pass additional arguments to cgc.