st/mesa: use one big translation table in st_pipe_vertex_format
authorMarek Olšák <marek.olsak@amd.com>
Sun, 9 Apr 2017 20:35:36 +0000 (22:35 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 20 Apr 2017 18:11:35 +0000 (20:11 +0200)
commitd1608d69823a2249a4d33c78be781ab6be5c2793
tree95014a4fd130a691cd1f05c8b7bb274f3daee9ca
parent86f99c1e4c9aec6433ae1c6a68f8f9d395cbfac6
st/mesa: use one big translation table in st_pipe_vertex_format

for lower overhead.

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/state_tracker/st_atom_array.c