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

GLSL: cgc

Joshua Rahm edited this page Dec 27, 2013 · 7 revisions

Checks OpenGL Shader Language source code for potential compiler errors

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 default behavior is to use the dictionary g:syntastic_glsl_cgc_profiles to look up the appropriate file extension to profile. If the dictionary does not exist, then it uses a default dictionary instead. Finally, if all else fails, the checker assumes a vertex shader profile.

The variable g:syntastic_glsl_extra_args exists to be able to pass custom arguments to the cgc compiler.

Clone this wiki locally