diff options
Diffstat (limited to 'src/gallium')
-rw-r--r-- | 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 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; |