radeonsi: reject invalid vertex element formats
authorMarek Olšák <marek.olsak@amd.com>
Wed, 18 Jan 2017 21:35:19 +0000 (22:35 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 19 Jan 2017 15:38:37 +0000 (16:38 +0100)
commit9e4d1d8a7c0d60a6975d186944cd870e06f94773
tree3502ec2b645df01353014059388682a8fcef3cf9
parente490b7812cae778c61004971d86dc8299b6cd240
radeonsi: reject invalid vertex element formats

This should fix a coverity defect.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
src/gallium/drivers/radeonsi/si_state.c