gallium: rearrange vertex info/layout validation
authorBrian <brian.paul@tungstengraphics.com>
Fri, 15 Feb 2008 01:58:50 +0000 (18:58 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Fri, 15 Feb 2008 01:59:25 +0000 (18:59 -0700)
commit3d81a956b9de709de17a98b93fead4d3307b2b99
tree7d69a25ebb85a13c341408ff671b95ea18df7049
parent1b6540b4b17969e9838facf5248fce34c9ff5c34
gallium: rearrange vertex info/layout validation

Delay validation until someone really needs the vertex layout (vbuf alloc
vertex buffer or point/line/tri setup/rendering).
This will allow the vertex size to change depending on whether we're
drawing points, lines or triangles.
src/mesa/pipe/softpipe/sp_prim_setup.c
src/mesa/pipe/softpipe/sp_prim_vbuf.c
src/mesa/pipe/softpipe/sp_state.h
src/mesa/pipe/softpipe/sp_state_derived.c