radeonsi: handle first_non_void correctly in si_create_vertex_elements
authorMarek Olšák <marek.olsak@amd.com>
Fri, 20 Jan 2017 15:02:04 +0000 (16:02 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 24 Jan 2017 22:52:01 +0000 (23:52 +0100)
commiteac7df43ca05abd9992b305e078e88fe7b7f8c91
tree7ce6f4be96658e50cce36926076a90db2d9ef6c0
parentd9ef54923804d5fe44a1d3ad5c29e9b8e8382359
radeonsi: handle first_non_void correctly in si_create_vertex_elements

This fixes R11G11B10_FLOAT, because it's in the category of "OTHER",
meaning that it doesn't have any channel description.

Cc: 17.0 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_state.c