diff options
author | Keith Whitwell <keithw@vmware.com> | 2010-10-15 13:04:19 +0100 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2010-10-15 13:27:47 +0100 |
commit | 8965f042b327ad8697963e757f4607f4bb13a045 (patch) | |
tree | d8d0dbb5295fb3370b9be2d86f3a90a25994d6bf /src/gallium/drivers/llvmpipe/lp_setup_line.c | |
parent | 9bf8a55c4b29d55320fc2e7875ecf0e9ca164ee8 (diff) | |
download | external_mesa3d-8965f042b327ad8697963e757f4607f4bb13a045.zip external_mesa3d-8965f042b327ad8697963e757f4607f4bb13a045.tar.gz external_mesa3d-8965f042b327ad8697963e757f4607f4bb13a045.tar.bz2 |
llvmpipe: don't store plane.ei value in binned data
Further reduce the size of a binned triangle.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_setup_line.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_setup_line.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_setup_line.c b/src/gallium/drivers/llvmpipe/lp_setup_line.c index 2fd9f2e..ece8638 100644 --- a/src/gallium/drivers/llvmpipe/lp_setup_line.c +++ b/src/gallium/drivers/llvmpipe/lp_setup_line.c @@ -654,10 +654,6 @@ try_setup_line( struct lp_setup_context *setup, plane[i].eo = 0; if (plane[i].dcdx < 0) plane[i].eo -= plane[i].dcdx; if (plane[i].dcdy > 0) plane[i].eo += plane[i].dcdy; - - /* Calculate trivial accept offsets from the above. - */ - plane[i].ei = plane[i].dcdy - plane[i].dcdx - plane[i].eo; } @@ -683,25 +679,21 @@ try_setup_line( struct lp_setup_context *setup, plane[4].dcdx = -1; plane[4].dcdy = 0; plane[4].c = 1-bbox.x0; - plane[4].ei = 0; plane[4].eo = 1; plane[5].dcdx = 1; plane[5].dcdy = 0; plane[5].c = bbox.x1+1; - plane[5].ei = -1; plane[5].eo = 0; plane[6].dcdx = 0; plane[6].dcdy = 1; plane[6].c = 1-bbox.y0; - plane[6].ei = 0; plane[6].eo = 1; plane[7].dcdx = 0; plane[7].dcdy = -1; plane[7].c = bbox.y1+1; - plane[7].ei = -1; plane[7].eo = 0; } |