prototype _mesa_init_ati_fragment_shader()

This commit is contained in:
Brian Paul
2005-01-11 15:56:47 +00:00
parent 43343913b9
commit cdb6541634
2 changed files with 16 additions and 12 deletions

View File

@@ -234,8 +234,9 @@ _mesa_init_vertex_program( GLcontext *ctx, struct vertex_program *prog,
* Initialize a new ATI fragment shader object. * Initialize a new ATI fragment shader object.
*/ */
struct program * struct program *
_mesa_init_ati_fragment_shader( GLcontext *ctx, struct ati_fragment_shader *prog, _mesa_init_ati_fragment_shader( GLcontext *ctx,
GLenum target, GLuint id) struct ati_fragment_shader *prog,
GLenum target, GLuint id )
{ {
if (prog) if (prog)
return _mesa_init_program_struct( ctx, &prog->Base, target, id ); return _mesa_init_program_struct( ctx, &prog->Base, target, id );

View File

@@ -1,8 +1,8 @@
/* /*
* Mesa 3-D graphics library * 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 * Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"), * 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 * extern struct program *
_mesa_init_vertex_program( GLcontext *ctx, _mesa_init_vertex_program(GLcontext *ctx,
struct vertex_program *prog, struct vertex_program *prog,
GLenum target, GLenum target, GLuint id);
GLuint id );
extern struct program * extern struct program *
_mesa_init_fragment_program( GLcontext *ctx, _mesa_init_fragment_program(GLcontext *ctx,
struct fragment_program *prog, struct fragment_program *prog,
GLenum target, GLenum target, GLuint id);
GLuint id );
extern struct program *
_mesa_init_ati_fragment_shader(GLcontext *ctx,
struct ati_fragment_shader *prog,
GLenum target, GLuint id );
extern struct program * extern struct program *
_mesa_new_program(GLcontext *ctx, GLenum target, GLuint id); _mesa_new_program(GLcontext *ctx, GLenum target, GLuint id);