From 4053d337035a17c3bded6458093acf56d1878cba Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Wed, 3 Mar 2010 19:55:31 +0000 Subject: llvmpipe: Store the original triangle coordinates in the debug build. For debugging purposes only. --- src/gallium/drivers/llvmpipe/lp_rast.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gallium/drivers/llvmpipe/lp_rast.h') diff --git a/src/gallium/drivers/llvmpipe/lp_rast.h b/src/gallium/drivers/llvmpipe/lp_rast.h index d91c45eb2b..dc5fc5fc7d 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; -- cgit v1.2.3