Mesa (lp-binning): llvmpipe: fill in tri min/max values
Keith Whitwell
keithw at kemper.freedesktop.org
Fri Oct 9 15:59:46 UTC 2009
Module: Mesa
Branch: lp-binning
Commit: b4924d62c7346da2e0de9ae4f9f23b3fb7fafee8
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b4924d62c7346da2e0de9ae4f9f23b3fb7fafee8
Author: Keith Whitwell <keithw at vmware.com>
Date: Fri Oct 9 16:59:24 2009 +0100
llvmpipe: fill in tri min/max values
---
src/gallium/drivers/llvmpipe/lp_setup_tri.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/gallium/drivers/llvmpipe/lp_setup_tri.c b/src/gallium/drivers/llvmpipe/lp_setup_tri.c
index 3cb7a28..1725614 100644
--- 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;
More information about the mesa-commit
mailing list