projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ff132e
)
llvmpipe: fix off-by-one in tri_16
author
Keith Whitwell
<keithw@vmware.com>
Tue, 5 Oct 2010 15:50:22 +0000
(16:50 +0100)
committer
Keith Whitwell
<keithw@vmware.com>
Fri, 8 Oct 2010 16:30:08 +0000
(17:30 +0100)
src/gallium/drivers/llvmpipe/lp_rast_tri_tmp.h
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_rast_tri_tmp.h
b/src/gallium/drivers/llvmpipe/lp_rast_tri_tmp.h
index c8f9956fda407725b39c682eb91c0eb50af913a7..2f032295126dce8bd524ec77a5daaa7f6dc5091a 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_rast_tri_tmp.h
+++ b/
src/gallium/drivers/llvmpipe/lp_rast_tri_tmp.h
@@
-309,7
+309,7
@@
TRI_16(struct lp_rasterizer_task *task,
partial_mask &= ~(1 << i);
for (j = 0; j < NR_PLANES; j++) {
- const int cx = (plane[j].c
+ const int cx = (plane[j].c
- 1
- plane[j].dcdx * px
+ plane[j].dcdy * py) * 4;