Nouveau: fix nv20_vertex_layout()
authorPekka Paalanen <pq@iki.fi>
Sat, 8 Nov 2008 22:58:19 +0000 (00:58 +0200)
committerPekka Paalanen <pq@iki.fi>
Sat, 8 Nov 2008 22:58:19 +0000 (00:58 +0200)
commit72ae2bd85624ae994709c0c4b5e0933002c61854
treeefeb3786426d7a8285c3950e092bbf250d3755a0
parent903ae9d04eb7d0066c4ba1e30acb44630ca129f4
Nouveau: fix nv20_vertex_layout()

The function should update nv20->vertex_info, and not just a
local struct that's thrown away immediately.

Fixes a SIGFPE due to vbuf->vertex_size = 0 in vbuf_alloc_vertices().

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