summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_rast.h
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2010-08-26 20:09:22 +0100
committerKeith Whitwell <keithw@vmware.com>2010-08-27 13:08:54 +0100
commit3783053fa59fceef59fe0356af5c8dbc095e9adf (patch)
treec4688ad5f27c40718ea6009a749fd217b07a09ac /src/gallium/drivers/llvmpipe/lp_rast.h
parente826d0e8170028da553d2018b833af7c26b8dc1b (diff)
llvmpipe: update line rasterization code to current master
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_rast.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_rast.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast.h b/src/gallium/drivers/llvmpipe/lp_rast.h
index b4564ef33b..37b4fdc31e 100644
--- a/src/gallium/drivers/llvmpipe/lp_rast.h
+++ b/src/gallium/drivers/llvmpipe/lp_rast.h
@@ -116,6 +116,11 @@ struct lp_rast_triangle {
/* inputs for the shader */
struct lp_rast_shader_inputs inputs;
+ /* XXX: temporarily use these additional fields for line
+ * coefficient setup
+ */
+ float dx, dy;
+
#ifdef DEBUG
float v[3][2];
#endif