summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_rast.h
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-03-03 19:55:31 +0000
committerJosé Fonseca <[email protected]>2010-03-03 19:55:49 +0000
commit4053d337035a17c3bded6458093acf56d1878cba (patch)
tree4e238c31e61c2098561f6fdc70a8752db81bf505 /src/gallium/drivers/llvmpipe/lp_rast.h
parent4d5dd82558fcf1f6fcfdb95b225a4e3f842a9133 (diff)
llvmpipe: Store the original triangle coordinates in the debug build.
For debugging purposes only.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_rast.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_rast.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast.h b/src/gallium/drivers/llvmpipe/lp_rast.h
index d91c45eb2be..dc5fc5fc7d6 100644
--- a/src/gallium/drivers/llvmpipe/lp_rast.h
+++ b/src/gallium/drivers/llvmpipe/lp_rast.h
@@ -98,6 +98,10 @@ struct lp_rast_shader_inputs {
* Objects of this type are put into the setup_context::data buffer.
*/
struct lp_rast_triangle {
+#ifdef DEBUG
+ float v[3][2];
+#endif
+
/* one-pixel sized trivial accept offsets for each plane */
int ei1;
int ei2;