core | glapi | vbo | math | shader | swrast | swrast_setup | tnl | tnl_dd

nvvertparse.h File Reference


void _mesa_parse_nv_vertex_program (GLcontext *ctx, GLenum target, const GLubyte *str, GLsizei len, struct gl_vertex_program *program)
 Parse/compile the 'str' returning the compiled 'program'.
const char * _mesa_nv_vertex_input_register_name (GLuint i)
const char * _mesa_nv_vertex_output_register_name (GLuint i)

Function Documentation

const char* _mesa_nv_vertex_input_register_name ( GLuint  i  ) 

const char* _mesa_nv_vertex_output_register_name ( GLuint  i  ) 

void _mesa_parse_nv_vertex_program ( GLcontext ctx,
GLenum  dstTarget,
const GLubyte *  str,
GLsizei  len,
struct gl_vertex_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'.

Generated on Sun Sep 27 06:48:02 2009 for Mesa Vertex and Fragment Program code by  doxygen 1.5.4