llvmpipe: eliminate the set_state rasterizer command
authorKeith Whitwell <keithw@vmware.com>
Sat, 10 Jul 2010 15:40:34 +0000 (16:40 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Tue, 13 Jul 2010 16:28:54 +0000 (17:28 +0100)
commite21e7ab4da859198dfa9845b4a7207c49db54771
tree8945e35c358bd5d0e5f00328a93fc4168c8c160c
parentd4b64167b56f780d0dea73193c345622888fbc16
llvmpipe: eliminate the set_state rasterizer command

Just put a pointer to the state in the tri->inputs struct.  Remove
some complex logic for eliminating unused statechanges in bins at the
expense of a slightly larger triangle struct.
src/gallium/drivers/llvmpipe/lp_memory.c
src/gallium/drivers/llvmpipe/lp_memory.h
src/gallium/drivers/llvmpipe/lp_rast.c
src/gallium/drivers/llvmpipe/lp_rast.h
src/gallium/drivers/llvmpipe/lp_rast_priv.h
src/gallium/drivers/llvmpipe/lp_scene.c
src/gallium/drivers/llvmpipe/lp_setup.c
src/gallium/drivers/llvmpipe/lp_setup_tri.c