llvmpipe: updated comments
authorBrian Paul <brianp@vmware.com>
Thu, 10 Dec 2009 17:59:46 +0000 (10:59 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 10 Dec 2009 17:59:46 +0000 (10:59 -0700)
src/gallium/drivers/llvmpipe/lp_rast.h

index 0000fbc5c71a2e5118b46524fc82297480aeb115..75f7b74404523f3dd86457bb8c6e42b7237aff43 100644 (file)
 #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;