69 "No error has occurred.")
73 "The compile returned an error.")
76 CG_INVALID_PARAMETER_ERROR,
77 "The parameter used is invalid.")
81 "The profile is not supported.")
84 CG_PROGRAM_LOAD_ERROR,
92 CG_PROGRAM_NOT_LOADED_ERROR,
93 "The
program must be loaded before this operation may be used.")
97 "An unsupported GL extension was required to perform this operation.")
100 CG_INVALID_VALUE_TYPE_ERROR,
101 "An unknown
value type was assigned to
a parameter.")
108 CG_INVALID_ENUMERANT_ERROR,
109 "The enumerant parameter has an invalid
value.")
117 "The file could not be read.")
121 "The file could not be written.")
125 "nvparse could not successfully parse the output from the Cg "
130 "Memory allocation failed.")
133 CG_INVALID_CONTEXT_HANDLE_ERROR,
134 "Invalid context
handle.")
141 CG_INVALID_PARAM_HANDLE_ERROR,
142 "Invalid parameter
handle.")
146 "The specified profile is unknown.")
150 "The
variable arguments were specified incorrectly.")
154 "The dimension
value is invalid.")
157 CG_ARRAY_PARAM_ERROR,
158 "The parameter must be an
array.")
162 "Index into the
array is out of bounds.")
165 CG_CONFLICTING_TYPES_ERROR,
166 "A
type being added to the context conflicts with an "
171 "The parameters being bound have conflicting
types.")
174 CG_PARAMETER_IS_NOT_SHARED_ERROR,
175 "The parameter must be global.")
179 "The parameter could not be changed to the given variability.")
182 CG_CANNOT_DESTROY_PARAMETER_ERROR,
183 "Cannot destroy the parameter. It is bound to other parameters "
184 "or is not
a root parameter.")
189 "The parameter is not
a root parameter.")
192 CG_PARAMETERS_DO_NOT_MATCH_ERROR,
193 "The two parameters being bound do not match.")
197 "The parameter is not
a program parameter.")
200 CG_INVALID_PARAMETER_TYPE_ERROR,
201 "The
type of the parameter is invalid.")
205 "The parameter must be
a resizable
array.")
208 CG_INVALID_SIZE_ERROR,
213 "Cannot
bind the given parameters. Binding will form
a cycle.")
216 CG_ARRAY_TYPES_DO_NOT_MATCH_ERROR,
217 "Cannot
bind the given parameters. Array
types do not match.")
221 "Cannot
bind the given parameters. "
222 "Array dimensions do not match.")
225 CG_ARRAY_HAS_WRONG_DIMENSION_ERROR,
226 "The
array has the wrong dimension.")
230 "Connecting the parameters failed because The
type of the "
235 CG_INVALID_EFFECT_HANDLE_ERROR,
243 CG_INVALID_STATE_ASSIGNMENT_HANDLE_ERROR,
244 "Invalid stateassignment
handle.")
251 CG_INVALID_ANNOTATION_HANDLE_ERROR,
252 "Invalid annotation
handle.")
256 "Invalid technique
handle.")
261 CG_INVALID_PARAMETER_HANDLE_ERROR,
262 "Invalid parameter
handle.")
269 CG_INVALID_FUNCTION_HANDLE_ERROR,
270 "Invalid function
handle.")
274 "Technique did not pass validation.")
277 CG_INVALID_POINTER_ERROR,
278 "The supplied
pointer is NULL.")
282 "Not enough
data was provided.")
285 CG_NON_NUMERIC_PARAMETER_ERROR,
286 "The parameter is not of
a numeric
type.")
293 CG_CANNOT_SET_NON_UNIFORM_PARAMETER_ERROR,
294 "Cannot set the
value of
a non-uniform parameter.")
298 "This
name is already
in use.")
301 CG_INVALID_OBJ_HANDLE_ERROR,
309 CG_BUFFER_INDEX_OUT_OF_RANGE_ERROR,
310 "Buffer
index is out of bounds.")
314 "The
buffer is already mapped.")
317 CG_BUFFER_UPDATE_NOT_ALLOWED_ERROR,
318 "The
buffer cannot be updated.")
322 "The GLSL geometry
program can not load without being combined with
a vertex
program.")
324 #undef CG_ERROR_MACRO