llvmpipe: fix the LP_NO_RAST debug option
authorBrian Paul <brianp@vmware.com>
Fri, 22 Jun 2012 19:06:40 +0000 (13:06 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 25 Jun 2012 14:14:33 +0000 (08:14 -0600)
commit45df3eb1db7147aca31134723972e1de4f6a7a16
tree9fcb364d4c707c0a2e3dbe633f0d35f4bdb57b42
parent37d699a296ac1d63b9276224847df4b645b53fe2
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>
src/gallium/drivers/llvmpipe/lp_clear.c
src/gallium/drivers/llvmpipe/lp_context.c
src/gallium/drivers/llvmpipe/lp_rast.c
src/gallium/drivers/llvmpipe/lp_rast_priv.h