Mesa (master): gallium: fix comments for pipe_stream_output_state

Brian Paul brianp at kemper.freedesktop.org
Wed Jun 8 14:14:59 UTC 2011


Module: Mesa
Branch: master
Commit: 713fb507596181f91990a0eb1470f0b95bf2f3d9
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=713fb507596181f91990a0eb1470f0b95bf2f3d9

Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jun  8 08:05:40 2011 -0600

gallium: fix comments for pipe_stream_output_state

---

 src/gallium/include/pipe/p_state.h |   16 +++++++++-------
 1 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h
index 86ef255..d442c15 100644
--- a/src/gallium/include/pipe/p_state.h
+++ b/src/gallium/include/pipe/p_state.h
@@ -372,19 +372,21 @@ struct pipe_resource
    unsigned flags;           /**< bitmask of PIPE_RESOURCE_FLAG_x */
 };
 
+
+/**
+ * Stream output for vertex transform feedback.
+ */
 struct pipe_stream_output_state
 {
-   /**< number of the output buffer to insert each element into */
+   /** number of the output buffer to insert each element into */
    int output_buffer[PIPE_MAX_SHADER_OUTPUTS];
-   /**< which register to grab each output from */
+   /** which register to grab each output from */
    int register_index[PIPE_MAX_SHADER_OUTPUTS];
-   /**< TGSI_WRITEMASK signifying which components to output */
+   /** TGSI_WRITEMASK signifying which components to output */
    ubyte register_mask[PIPE_MAX_SHADER_OUTPUTS];
-   /**< number of outputs */
+   /** number of outputs */
    int num_outputs;
-
-   /**< stride for an entire vertex, only used if all output_buffers
-    * are 0 */
+   /** stride for an entire vertex, only used if all output_buffers are 0 */
    unsigned stride;
 };
 




More information about the mesa-commit mailing list