summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-08-23 14:55:43 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-08-23 14:55:43 -0600
commit399077d760b4c98ab38d48d17f2480114e70dfc6 (patch)
tree62ede5f2e773845fe0dfd89631877edae274f542
parent6d88515190ed7500e201706cc14d30072ba42d6f (diff)
clean-up comments
-rw-r--r--src/mesa/pipe/i915simple/i915_fpc.h19
-rw-r--r--src/mesa/pipe/i915simple/i915_prim_emit.c3
2 files changed, 8 insertions, 14 deletions
diff --git a/src/mesa/pipe/i915simple/i915_fpc.h b/src/mesa/pipe/i915simple/i915_fpc.h
index 7bbfc69d29..59fcbf40d9 100644
--- a/src/mesa/pipe/i915simple/i915_fpc.h
+++ b/src/mesa/pipe/i915simple/i915_fpc.h
@@ -56,22 +56,15 @@ struct i915_fp_compile {
uint num_constants;
uint constant_flags[I915_MAX_CONSTANT]; /**< status of each constant */
- uint *csr; /* Cursor, points into program.
- */
+ uint *csr; /**< Cursor, points into program. */
- uint *decl; /* Cursor, points into declarations.
- */
+ uint *decl; /**< Cursor, points into declarations. */
- uint decl_s; /* flags for which s regs need to be decl'd */
- uint decl_t; /* flags for which t regs need to be decl'd */
+ uint decl_s; /**< flags for which s regs need to be decl'd */
+ uint decl_t; /**< flags for which t regs need to be decl'd */
- uint temp_flag; /* Tracks temporary regs which are in
- * use.
- */
-
- uint utemp_flag; /* Tracks TYPE_U temporary regs which are in
- * use.
- */
+ uint temp_flag; /**< Tracks temporary regs which are in use */
+ uint utemp_flag; /**< Tracks TYPE_U temporary regs which are in use */
uint nr_tex_indirect;
uint nr_tex_insn;
diff --git a/src/mesa/pipe/i915simple/i915_prim_emit.c b/src/mesa/pipe/i915simple/i915_prim_emit.c
index fc26d26627..fcf3c99cac 100644
--- a/src/mesa/pipe/i915simple/i915_prim_emit.c
+++ b/src/mesa/pipe/i915simple/i915_prim_emit.c
@@ -201,7 +201,8 @@ static void reset_stipple_counter( struct draw_stage *stage )
/**
- * Create a new primitive setup/render stage.
+ * Create a new primitive setup/render stage. This gets plugged into
+ * the 'draw' module's pipeline.
*/
struct draw_stage *i915_draw_render_stage( struct i915_context *i915 )
{