gallium: rename draw_auto to draw_stream_output, plus fix a comment
authorZack Rusin <zack@kde.org>
Wed, 2 Jun 2010 16:57:58 +0000 (12:57 -0400)
committerZack Rusin <zackr@vmware.com>
Tue, 8 Jun 2010 10:28:11 +0000 (06:28 -0400)
Brian spotted those

src/gallium/drivers/softpipe/sp_context.c
src/gallium/drivers/softpipe/sp_draw_arrays.c
src/gallium/drivers/softpipe/sp_state.h
src/gallium/include/pipe/p_context.h
src/gallium/include/pipe/p_state.h

index 38bc0d51f343644938914a51b1cb4c4df1c3996d..401a28ad3124d98dcdad77c785660bf019d4a432 100644 (file)
@@ -276,7 +276,7 @@ softpipe_create_context( struct pipe_screen *screen,
    softpipe->pipe.draw_range_elements = softpipe_draw_range_elements;
    softpipe->pipe.draw_arrays_instanced = softpipe_draw_arrays_instanced;
    softpipe->pipe.draw_elements_instanced = softpipe_draw_elements_instanced;
-   softpipe->pipe.draw_auto = softpipe_draw_auto;
+   softpipe->pipe.draw_stream_output = softpipe_draw_stream_output;
 
    softpipe->pipe.clear = softpipe_clear;
    softpipe->pipe.flush = softpipe_flush;
index 8fa7f9fbdec469a0dcd8ddea2288cb9515984fd6..79daa68f3b3e8ae6dab00c0dae7fee7653afed90 100644 (file)
@@ -85,7 +85,7 @@ softpipe_draw_arrays(struct pipe_context *pipe, unsigned mode,
 }
 
 void
-softpipe_draw_auto(struct pipe_context *pipe, unsigned mode)
+softpipe_draw_stream_output(struct pipe_context *pipe, unsigned mode)
 {
    struct softpipe_context *sp = softpipe_context(pipe);
    struct draw_context *draw = sp->draw;
index 4ffa2b9f598ec1e7c96304922d140652a9d26be8..d0b73cc850c10e8c65a26daa0148a76fac1996a4 100644 (file)
@@ -250,7 +250,7 @@ softpipe_draw_elements_instanced(struct pipe_context *pipe,
                                  unsigned startInstance,
                                  unsigned instanceCount);
 
-void softpipe_draw_auto(struct pipe_context *pipe, unsigned mode);
+void softpipe_draw_stream_output(struct pipe_context *pipe, unsigned mode);
 
 void
 softpipe_map_transfers(struct softpipe_context *sp);
index 3a792b0fe0fc49cbe9fd09b72b4d50b5d15e887b..74180888f6995b3d5edbb1b9e5901566dd9ec8b2 100644 (file)
@@ -105,7 +105,7 @@ struct pipe_context {
    /**
     * Draw the stream output buffer at index 0
     */
-   void (*draw_auto)( struct pipe_context *pipe, unsigned mode );
+   void (*draw_stream_output)( struct pipe_context *pipe, unsigned mode );
    /*@}*/
 
    /**
index 771bff524bde83bf3b932894a019eb3ba70cfe81..5ed1cca67a5151f39535b24ec69e519e3ccf0a29 100644 (file)
@@ -352,7 +352,6 @@ struct pipe_stream_output_state
    int output_buffer[PIPE_MAX_SHADER_OUTPUTS];
    /**< which register to grab each output from */
    int register_index[PIPE_MAX_SHADER_OUTPUTS];
-   /**< format for each output */
    /**< TGSI_WRITEMASK signifying which components to output */
    ubyte register_mask[PIPE_MAX_SHADER_OUTPUTS];
    /**< number of outputs */