Mesa (lp-binning): llvmpipe: updated comments

Brian Paul brianp at kemper.freedesktop.org
Thu Dec 10 13:56:53 PST 2009


Module: Mesa
Branch: lp-binning
Commit: 21008441e4609c8590ede093a549ef689516ddd4
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=21008441e4609c8590ede093a549ef689516ddd4

Author: Brian Paul <brianp at vmware.com>
Date:   Thu Dec 10 10:59:46 2009 -0700

llvmpipe: updated comments

---

 src/gallium/drivers/llvmpipe/lp_rast.h |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/src/gallium/drivers/llvmpipe/lp_rast.h b/src/gallium/drivers/llvmpipe/lp_rast.h
index 0000fbc..75f7b74 100644
--- a/src/gallium/drivers/llvmpipe/lp_rast.h
+++ b/src/gallium/drivers/llvmpipe/lp_rast.h
@@ -41,17 +41,13 @@
 #include "lp_jit.h"
 
 
-/* Initially create and program a single rasterizer directly.  Later
- * will want multiple of these, one or two per core.  At that stage
- * will probably pass command buffers into the rasterizers rather than
- * individual function calls like this.
- */
 struct lp_rasterizer;
 struct lp_bins;
 struct lp_bins_queue;
 struct cmd_bin;
 struct pipe_screen;
 
+/** For sub-pixel positioning */
 #define FIXED_ORDER 4
 #define FIXED_ONE (1<<FIXED_ORDER)
 
@@ -62,7 +58,8 @@ struct pipe_screen;
  * to by commands in the per-tile bins.
  */
 struct lp_rast_state {
-   /* State for the shader:
+   /* State for the shader.  This also contains state which feeds into
+    * the fragment shader, such as blend color and alpha ref value.
     */
    struct lp_jit_context jit_context;
    



More information about the mesa-commit mailing list