-
Notifications
You must be signed in to change notification settings - Fork 1.1k
GLSL: cgc
This file exists only as a historic reference. Documentation for syntastic
checkers is now included in the manual, please see :help syntastic-checkers
in Vim.
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.
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
.