Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

(v3.5.0) GLSL: cgc

LCD 47 edited this page Dec 13, 2014 · 1 revision

Maintainer: Joshua Rahm [email protected]

cgc is a compiler that 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.

Clone this wiki locally