gallium: fix comments for pipe_stream_output_state

This commit is contained in:
Brian Paul 2011-06-08 08:05:40 -06:00
parent 3d75c42bbf
commit 713fb50759

View file

@ -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;
};