mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
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:
parent
2cac3b3817
commit
4d5d7d16dc
2 changed files with 2 additions and 2 deletions
|
|
@ -382,7 +382,7 @@ lp_rast_arg_null( void )
|
||||||
#define LP_RAST_FLAGS_BLIT (0x8)
|
#define LP_RAST_FLAGS_BLIT (0x8)
|
||||||
|
|
||||||
struct lp_bin_info {
|
struct lp_bin_info {
|
||||||
unsigned type:8;
|
unsigned type:8; // bitmask of LP_RAST_FLAGS_x
|
||||||
unsigned count:24;
|
unsigned count:24;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -206,7 +206,7 @@ partial(struct lp_setup_context *setup,
|
||||||
const struct lp_rast_rectangle *rect,
|
const struct lp_rast_rectangle *rect,
|
||||||
boolean opaque,
|
boolean opaque,
|
||||||
unsigned ix, unsigned iy,
|
unsigned ix, unsigned iy,
|
||||||
unsigned mask)
|
unsigned mask) // RECT_PLANE_x bits
|
||||||
{
|
{
|
||||||
if (mask == 0) {
|
if (mask == 0) {
|
||||||
assert(rect->box.x0 <= ix * TILE_SIZE);
|
assert(rect->box.x0 <= ix * TILE_SIZE);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue