gallium: remove redundant nr_components field from pipe_vertex_element
authorRoland Scheidegger <sroland@vmware.com>
Wed, 17 Feb 2010 15:44:38 +0000 (16:44 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Wed, 17 Feb 2010 15:44:38 +0000 (16:44 +0100)
commit464a72dd4154f314e08c9d0c4d07417e2bf255f0
tree182319c2a6a98b69c54bccb6c699b3f1090e352b
parentc2ad9e380121d43f8ac066b590f9929a56bd1b0f
gallium: remove redundant nr_components field from pipe_vertex_element

This is a property of the associated src_format pipe format.
Hence use util_format_get_nr_components to query this when necessary instead.
13 files changed:
progs/gallium/python/retrace/interpreter.py
src/gallium/auxiliary/draw/draw_pt.c
src/gallium/auxiliary/util/u_draw_quad.c
src/gallium/auxiliary/util/u_dump_state.c
src/gallium/auxiliary/vl/vl_compositor.c
src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c
src/gallium/drivers/i965/brw_draw_upload.c
src/gallium/drivers/nv50/nv50_vbo.c
src/gallium/drivers/trace/tr_dump_state.c
src/gallium/include/pipe/p_state.h
src/gallium/state_trackers/vega/polygon.c
src/mesa/state_tracker/st_draw.c
src/mesa/state_tracker/st_draw_feedback.c