summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_rast_priv.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2012-06-22 13:06:40 -0600
committerBrian Paul <brianp@vmware.com>2012-06-25 08:14:33 -0600
commit45df3eb1db7147aca31134723972e1de4f6a7a16 (patch)
tree9fcb364d4c707c0a2e3dbe633f0d35f4bdb57b42 /src/gallium/drivers/llvmpipe/lp_rast_priv.h
parent37d699a296ac1d63b9276224847df4b645b53fe2 (diff)
downloadexternal_mesa3d-45df3eb1db7147aca31134723972e1de4f6a7a16.zip
external_mesa3d-45df3eb1db7147aca31134723972e1de4f6a7a16.tar.gz
external_mesa3d-45df3eb1db7147aca31134723972e1de4f6a7a16.tar.bz2
llvmpipe: fix the LP_NO_RAST debug option
It was only no-oping the clear() function, not actual triangle rasterization. Move the no_rast field from lp_context down into lp_rasterizer so it's accessible where it's needed. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_rast_priv.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_rast_priv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast_priv.h b/src/gallium/drivers/llvmpipe/lp_rast_priv.h
index d0bda35..b5d0074 100644
--- a/src/gallium/drivers/llvmpipe/lp_rast_priv.h
+++ b/src/gallium/drivers/llvmpipe/lp_rast_priv.h
@@ -111,6 +111,7 @@ struct lp_rasterizer_task
struct lp_rasterizer
{
boolean exit_flag;
+ boolean no_rast; /**< For debugging/profiling */
/** The incoming queue of scenes ready to rasterize */
struct lp_scene_queue *full_scenes;