Functions | |
void | _mesa_parse_nv_fragment_program (GLcontext *ctx, GLenum target, const GLubyte *str, GLsizei len, struct gl_fragment_program *program) |
Parse/compile the 'str' returning the compiled 'program'. | |
const char * | _mesa_nv_fragment_input_register_name (GLuint i) |
const char* _mesa_nv_fragment_input_register_name | ( | GLuint | i | ) |
void _mesa_parse_nv_fragment_program | ( | GLcontext * | ctx, | |
GLenum | dstTarget, | |||
const GLubyte * | str, | |||
GLsizei | len, | |||
struct gl_fragment_program * | program | |||
) |
Parse/compile the 'str' returning the compiled 'program'.
ctx->Program.ErrorPos will be -1 if successful. Otherwise, ErrorPos indicates the position of the error in 'str'.