llvmpipe: add minor comments in lp_rast.h, lp_setup-rect.c

Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17062>
This commit is contained in:
Brian Paul 2022-06-07 11:12:07 -06:00
parent 2cac3b3817
commit 4d5d7d16dc
2 changed files with 2 additions and 2 deletions

View file

@ -382,7 +382,7 @@ lp_rast_arg_null( void )
#define LP_RAST_FLAGS_BLIT (0x8)
struct lp_bin_info {
unsigned type:8;
unsigned type:8; // bitmask of LP_RAST_FLAGS_x
unsigned count:24;
};

View file

@ -206,7 +206,7 @@ partial(struct lp_setup_context *setup,
const struct lp_rast_rectangle *rect,
boolean opaque,
unsigned ix, unsigned iy,
unsigned mask)
unsigned mask) // RECT_PLANE_x bits
{
if (mask == 0) {
assert(rect->box.x0 <= ix * TILE_SIZE);