gallium: rationalize vertex_element state packet
authorKeith Whitwell <keith@tungstengraphics.com>
Tue, 18 Dec 2007 17:25:33 +0000 (17:25 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Tue, 18 Dec 2007 17:25:33 +0000 (17:25 +0000)
commitc31416971e4eac148f8e82d6c4392bd6f9cbc05d
tree90c5a1b4ef735d1709cc26271cb89232f7dd73a3
parent208b2ad8ab51c472886388fdd872e3a86e2c1c5c
gallium:  rationalize vertex_element state packet

Remove dst_offset (not used)
Add nr_components, which could be calculated from format, but would be
too much effort.

Update i965 driver to cope.
src/mesa/pipe/i965simple/brw_context.h
src/mesa/pipe/i965simple/brw_draw_upload.c
src/mesa/pipe/i965simple/brw_state.c
src/mesa/pipe/p_state.h
src/mesa/state_tracker/st_draw.c