update some type names
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 26 Nov 2004 13:34:45 +0000 (13:34 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 26 Nov 2004 13:34:45 +0000 (13:34 +0000)
src/mesa/shader/nvvertexec.c
src/mesa/shader/nvvertexec.h
src/mesa/shader/shaderobjects.c

index e10cb1a..79929f1 100644 (file)
@@ -176,7 +176,7 @@ _mesa_init_vp_per_primitive_registers(GLcontext *ctx)
  * For debugging.  Dump the current vertex program machine registers.
  */
 void
-_mesa_dump_vp_state( const struct vertex_program_state *state )
+_mesa_dump_vp_state( const struct gl_vertex_program_state *state )
 {
    int i;
    _mesa_printf("VertexIn:\n");
@@ -228,7 +228,7 @@ _mesa_dump_vp_state( const struct vertex_program_state *state )
  */
 static INLINE const GLfloat *
 get_register_pointer( const struct vp_src_register *source,
-                      const struct vertex_program_state *state )
+                      const struct gl_vertex_program_state *state )
 {
    if (source->RelAddr) {
       const GLint reg = source->Index + state->AddressReg[0];
@@ -274,7 +274,7 @@ get_register_pointer( const struct vp_src_register *source,
  */
 static INLINE void
 fetch_vector4( const struct vp_src_register *source,
-               const struct vertex_program_state *state,
+               const struct gl_vertex_program_state *state,
                GLfloat result[4] )
 {
    const GLfloat *src = get_register_pointer(source, state);
@@ -300,7 +300,7 @@ fetch_vector4( const struct vp_src_register *source,
  */
 static INLINE void
 fetch_vector1( const struct vp_src_register *source,
-               const struct vertex_program_state *state,
+               const struct gl_vertex_program_state *state,
                GLfloat result[4] )
 {
    const GLfloat *src = get_register_pointer(source, state);
@@ -319,7 +319,7 @@ fetch_vector1( const struct vp_src_register *source,
  */
 static void
 store_vector4( const struct vp_dst_register *dest,
-               struct vertex_program_state *state,
+               struct gl_vertex_program_state *state,
                const GLfloat value[4] )
 {
    GLfloat *dst;
@@ -377,7 +377,7 @@ store_vector4( const struct vp_dst_register *dest,
 void
 _mesa_exec_vertex_program(GLcontext *ctx, const struct vertex_program *program)
 {
-   struct vertex_program_state *state = &ctx->VertexProgram;
+   struct gl_vertex_program_state *state = &ctx->VertexProgram;
    const struct vp_instruction *inst;
 
    ctx->_CurrentProgram = GL_VERTEX_PROGRAM_ARB; /* or NV, doesn't matter */
index e6e5a3a..cdf1bd5 100644 (file)
@@ -38,6 +38,6 @@ extern void
 _mesa_exec_vertex_program(GLcontext *ctx, const struct vertex_program *program);
 
 extern void
-_mesa_dump_vp_state( const struct vertex_program_state *state );
+_mesa_dump_vp_state( const struct gl_vertex_program_state *state );
 
 #endif
index 1bfebe9..719b211 100644 (file)
@@ -78,11 +78,13 @@ _mesa_LinkProgramARB (GLhandleARB programObj)
 {
 }
 
+#if 0
 GLboolean
 _mesa_use_program_object( GLcontext *ctx, struct gl_program_object *pobj )
 {
    return GL_FALSE;
 }
+#endif
 
 void GLAPIENTRY
 _mesa_UseProgramObjectARB (GLhandleARB programObj)