projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6464ec4
)
llvmpipe: fill in tri min/max values
author
Keith Whitwell
<keithw@vmware.com>
Fri, 9 Oct 2009 15:59:24 +0000
(16:59 +0100)
committer
Keith Whitwell
<keithw@vmware.com>
Fri, 9 Oct 2009 15:59:24 +0000
(16:59 +0100)
src/gallium/drivers/llvmpipe/lp_setup_tri.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_setup_tri.c
b/src/gallium/drivers/llvmpipe/lp_setup_tri.c
index 3cb7a286049e98295aedca458e34b2220f79aa29..1725614902bab9948a04d3bda3f513c94c87895c 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_setup_tri.c
+++ b/
src/gallium/drivers/llvmpipe/lp_setup_tri.c
@@
-306,6
+306,11
@@
do_triangle_ccw(struct setup_context *setup,
if (miny == maxy || minx == maxx)
return;
+ tri->miny = miny;
+ tri->minx = minx;
+ tri->maxy = maxy;
+ tri->maxx = maxx;
+
/* The only divide in this code. Is it really needed?
*/
tri->oneoverarea = 1.0f / area;