summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_rast.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-12-10 10:59:46 -0700
committerBrian Paul <[email protected]>2009-12-10 10:59:46 -0700
commit21008441e4609c8590ede093a549ef689516ddd4 (patch)
tree792de9c9b25405c2fe6063ea38e2c1580fb86a73 /src/gallium/drivers/llvmpipe/lp_rast.h
parent96689d451a24753e088f40fb167c3cb26d8045ac (diff)
llvmpipe: updated comments
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_rast.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_rast.h9
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 0000fbc5c71..75f7b744045 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;