added blend comments
authorBrian <brian.paul@tungstengraphics.com>
Fri, 22 Jun 2007 18:49:23 +0000 (12:49 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Fri, 22 Jun 2007 18:49:23 +0000 (12:49 -0600)
src/mesa/pipe/p_state.h

index b841181cf01151bc92c4e37f12e529569d3f83ce..d1e387ce4373cab7f5a4deafeb90c93118a87881 100644 (file)
@@ -121,16 +121,16 @@ struct pipe_alpha_test_state {
 struct pipe_blend_state {
    GLuint blend_enable:1;
 
-   GLuint rgb_func:3;
-   GLuint rgb_src_factor:5;
-   GLuint rgb_dst_factor:5;
+   GLuint rgb_func:3;          /**< PIPE_BLEND_x */
+   GLuint rgb_src_factor:5;    /**< PIPE_BLENDFACTOR_x */
+   GLuint rgb_dst_factor:5;    /**< PIPE_BLENDFACTOR_x */
 
-   GLuint alpha_func:3;
-   GLuint alpha_src_factor:5;
-   GLuint alpha_dst_factor:5;
+   GLuint alpha_func:3;        /**< PIPE_BLEND_x */
+   GLuint alpha_src_factor:5;  /**< PIPE_BLENDFACTOR_x */
+   GLuint alpha_dst_factor:5;  /**< PIPE_BLENDFACTOR_x */
 
    GLuint logicop_enable:1;
-   GLuint logicop_func:4;
+   GLuint logicop_func:4;      /**< PIPE_LOGICOP_x */
 };
 
 struct pipe_blend_color {