gallium: overhaul usage of vertex_info in draw module.
authorBrian <brian.paul@tungstengraphics.com>
Wed, 23 Jan 2008 19:48:41 +0000 (12:48 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Wed, 23 Jan 2008 19:48:41 +0000 (12:48 -0700)
commitcd3643698eafa0869a8317b002e5b066de0172e7
treee7474c2e8079b5069b68adca09bd9882bf65c4c9
parentb3f081999f8eb904370df7492e39184268c77c13
gallium: overhaul usage of vertex_info in draw module.

Remove all dependencies on vertex_info, except for draw_vbuf.
Drawing stages now strictly operate on post-transformed vertices and don't
know anything about hw vertices.
Use vertex program output info for two-side/flat/etc stages.
Temporarily disable vbuf module in softpipe driver.
20 files changed:
src/mesa/pipe/draw/draw_clip.c
src/mesa/pipe/draw/draw_context.c
src/mesa/pipe/draw/draw_context.h
src/mesa/pipe/draw/draw_flatshade.c
src/mesa/pipe/draw/draw_private.h
src/mesa/pipe/draw/draw_stipple.c
src/mesa/pipe/draw/draw_twoside.c
src/mesa/pipe/draw/draw_vertex.c
src/mesa/pipe/draw/draw_vertex.h
src/mesa/pipe/draw/draw_vertex_cache.c
src/mesa/pipe/draw/draw_vertex_fetch.c
src/mesa/pipe/draw/draw_vertex_shader.c
src/mesa/pipe/draw/draw_vertex_shader_llvm.c
src/mesa/pipe/i915simple/i915_state_derived.c
src/mesa/pipe/softpipe/sp_context.c
src/mesa/pipe/softpipe/sp_context.h
src/mesa/pipe/softpipe/sp_prim_setup.c
src/mesa/pipe/softpipe/sp_prim_vbuf.c
src/mesa/pipe/softpipe/sp_state_derived.c
src/mesa/state_tracker/st_draw.c