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

nvfragparse.h File Reference


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)


Function Documentation

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'.


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