r600g: Generalize the pipe_add_vertex_attrib() functions.
authorHenri Verbeet <hverbeet@gmail.com>
Mon, 7 Feb 2011 14:22:07 +0000 (15:22 +0100)
committerHenri Verbeet <hverbeet@gmail.com>
Mon, 7 Feb 2011 14:22:07 +0000 (15:22 +0100)
commit5c59eebfae55240a2308c02b0a6ad971c9b83304
tree33ae725527c2e12651f6ed9df0d5214ff05193f9
parentb9fd1a1e4b2121225195056ea1b679d62c399ddb
r600g: Generalize the pipe_add_vertex_attrib() functions.

This allows them to be used for VS or PS buffer resources as well.
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/r600_pipe.h
src/gallium/drivers/r600/r600_state.c
src/gallium/drivers/r600/r600_state_common.c