radeonsi: fix bounds check in si_create_vertex_elements
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 12 Apr 2016 17:23:31 +0000 (12:23 -0500)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 12 Apr 2016 21:32:46 +0000 (16:32 -0500)
commita191e6b719848a17963f185954f1696fa5a2bcb1
treec3a600e2431a2bc42a6393adc1518d3f3a768fd8
parent4285a97ceae4f5e49dc9da4be6b066c520052954
radeonsi: fix bounds check in si_create_vertex_elements

This was triggered by
dEQP-GLES3.functional.vertex_array_objects.all_attributes

Cc: "11.1 11.2" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_state.c