Reviewed-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Maya Rashish <coypu@sdf.org>
struct lp_rast_plane *plane_s = &plane[4];
if (s_planes[0]) {
- plane_s->dcdx = -1 << 8;
+ plane_s->dcdx = ~0U << 8;
plane_s->dcdy = 0;
plane_s->c = (1-scissor->x0) << 8;
plane_s->eo = 1 << 8;
}
if (s_planes[3]) {
plane_s->dcdx = 0;
- plane_s->dcdy = -1 << 8;
+ plane_s->dcdy = ~0U << 8;
plane_s->c = (scissor->y1+1) << 8;
plane_s->eo = 0;
plane_s++;
{
struct lp_rast_plane *plane = GET_PLANES(point);
- plane[0].dcdx = -1 << 8;
+ plane[0].dcdx = ~0U << 8;
plane[0].dcdy = 0;
plane[0].c = (1-bbox.x0) << 8;
plane[0].eo = 1 << 8;
plane[2].eo = 1 << 8;
plane[3].dcdx = 0;
- plane[3].dcdy = -1 << 8;
+ plane[3].dcdy = ~0U << 8;
plane[3].c = (bbox.y1+1) << 8;
plane[3].eo = 0;
}
struct lp_rast_plane *plane_s = &plane[3];
if (s_planes[0]) {
- plane_s->dcdx = -1 << 8;
+ plane_s->dcdx = ~0U << 8;
plane_s->dcdy = 0;
plane_s->c = (1-scissor->x0) << 8;
plane_s->eo = 1 << 8;
}
if (s_planes[3]) {
plane_s->dcdx = 0;
- plane_s->dcdy = -1 << 8;
+ plane_s->dcdy = ~0U << 8;
plane_s->c = (scissor->y1+1) << 8;
plane_s->eo = 0;
plane_s++;