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

GLSL: cgc

LCD 47 edited this page Jun 12, 2016 · 7 revisions

This file is no longer maintained

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 joshuarahm@gmail.com

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