summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_rast.h
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-10-09 12:19:49 +0100
committerKeith Whitwell <keithw@vmware.com>2009-10-09 12:19:49 +0100
commite215f94f15fd20919cc0ed500dc2efde4f076516 (patch)
tree90e883fd2880009002545180a83399b1668684f6 /src/gallium/drivers/llvmpipe/lp_rast.h
parent4cdd10cb4b60d85f6c231a26739f7d5e264a05e5 (diff)
llvmpipe: get lp_setup_tri building
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_rast.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_rast.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast.h b/src/gallium/drivers/llvmpipe/lp_rast.h
index 44cb4032da..72f897503d 100644
--- a/src/gallium/drivers/llvmpipe/lp_rast.h
+++ b/src/gallium/drivers/llvmpipe/lp_rast.h
@@ -77,6 +77,11 @@ struct lp_rast_shader_inputs {
* plus inputs to run the shader:
*/
struct lp_rast_triangle {
+ int minx;
+ int maxx;
+ int miny;
+ int maxy;
+
/* one-pixel sized trivial accept offsets for each plane */
float ei1;
float ei2;
@@ -97,8 +102,13 @@ struct lp_rast_triangle {
float dx23;
float dx31;
- /* XXX: these are only used inside lp_setup_tri.c, don't really
- * need to bin them:
+ /* edge function values at minx,miny ?? */
+ float c1;
+ float c2;
+ float c3;
+
+ /* XXX: this is only used inside lp_setup_tri.c, don't really
+ * need it here:
*/
float oneoverarea;