diff options
author | Brian Paul <[email protected]> | 2005-01-11 15:56:47 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2005-01-11 15:56:47 +0000 |
commit | cdb65416342d5ca9635685b898c68a76f4a6e862 (patch) | |
tree | 3ce9b17870c52ca24f382e4fd0e5a8490a1d0738 /src/mesa/shader | |
parent | 43343913b98d7e113977940bc9c49f9df45add29 (diff) |
prototype _mesa_init_ati_fragment_shader()
Diffstat (limited to 'src/mesa/shader')
-rw-r--r-- | src/mesa/shader/program.c | 5 | ||||
-rw-r--r-- | src/mesa/shader/program.h | 23 |
2 files changed, 16 insertions, 12 deletions
diff --git a/src/mesa/shader/program.c b/src/mesa/shader/program.c index e258f67ec1c..28c18ed51ad 100644 --- a/src/mesa/shader/program.c +++ b/src/mesa/shader/program.c @@ -234,8 +234,9 @@ _mesa_init_vertex_program( GLcontext *ctx, struct vertex_program *prog, * Initialize a new ATI fragment shader object. */ struct program * -_mesa_init_ati_fragment_shader( GLcontext *ctx, struct ati_fragment_shader *prog, - GLenum target, GLuint id) +_mesa_init_ati_fragment_shader( GLcontext *ctx, + struct ati_fragment_shader *prog, + GLenum target, GLuint id ) { if (prog) return _mesa_init_program_struct( ctx, &prog->Base, target, id ); diff --git a/src/mesa/shader/program.h b/src/mesa/shader/program.h index e8a667ddc63..dcd64adfe9d 100644 --- a/src/mesa/shader/program.h +++ b/src/mesa/shader/program.h @@ -1,8 +1,8 @@ /* * Mesa 3-D graphics library - * Version: 6.2 + * Version: 6.3 * - * Copyright (C) 1999-2004 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2005 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -74,16 +74,19 @@ _mesa_find_line_column(const GLubyte *string, const GLubyte *pos, extern struct program * -_mesa_init_vertex_program( GLcontext *ctx, - struct vertex_program *prog, - GLenum target, - GLuint id ); +_mesa_init_vertex_program(GLcontext *ctx, + struct vertex_program *prog, + GLenum target, GLuint id); extern struct program * -_mesa_init_fragment_program( GLcontext *ctx, - struct fragment_program *prog, - GLenum target, - GLuint id ); +_mesa_init_fragment_program(GLcontext *ctx, + struct fragment_program *prog, + GLenum target, GLuint id); + +extern struct program * +_mesa_init_ati_fragment_shader(GLcontext *ctx, + struct ati_fragment_shader *prog, + GLenum target, GLuint id ); extern struct program * _mesa_new_program(GLcontext *ctx, GLenum target, GLuint id); |