nv20: rewrite vertex layout
authorPekka Paalanen <pq@iki.fi>
Mon, 26 Jan 2009 19:15:48 +0000 (21:15 +0200)
committerPekka Paalanen <pq@iki.fi>
Mon, 26 Jan 2009 19:34:39 +0000 (21:34 +0200)
commitf25421a59b002a8b679df86c0a072cf853e94f10
tree2d5e1748035c764c59b5ce3c2893a144bd802063
parent94ff37f0dc78a7f305f309ea8d5e111508c5b9f2
nv20: rewrite vertex layout

NV20 seems to be very different to NV10. In vertex array, pos is first,
not last. There are maximum 16 attributes and only few are currently
known.

This makes trivial/tri work on NV20.

Signed-off-by: Pekka Paalanen <pq@iki.fi>
src/gallium/drivers/nv20/nv20_state_emit.c