llvmpipe: comments
authorBrian Paul <brianp@vmware.com>
Thu, 3 Dec 2009 21:57:13 +0000 (14:57 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 3 Dec 2009 21:57:13 +0000 (14:57 -0700)
src/gallium/drivers/llvmpipe/lp_setup_context.h

index 3209e41c01f2c4524b54b91b96fb24d37db9ab12..a3ec82e38259e24c685c0dfb816666027b524ebd 100644 (file)
@@ -103,8 +103,8 @@ struct setup_context {
 
    struct {
       unsigned flags;
-      union lp_rast_cmd_arg color;
-      union lp_rast_cmd_arg zstencil;
+      union lp_rast_cmd_arg color;    /**< lp_rast_clear_color() cmd */
+      union lp_rast_cmd_arg zstencil; /**< lp_rast_clear_zstencil() cmd */
    } clear;
 
    enum {
@@ -117,8 +117,8 @@ struct setup_context {
       struct lp_shader_input input[PIPE_MAX_ATTRIBS];
       unsigned nr_inputs;
 
-      const struct lp_rast_state *stored;
-      struct lp_rast_state current;
+      const struct lp_rast_state *stored; /**< what's in the bins */
+      struct lp_rast_state current;  /**< currently set state */
    } fs;
 
    struct {