spirv: Error if OpCompositeInsert/Extract has OOB indices
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 9 Apr 2020 21:58:58 +0000 (16:58 -0500)
committerMarge Bot <eric+marge@anholt.net>
Fri, 17 Apr 2020 19:21:44 +0000 (19:21 +0000)
commit4b160c67764b3f0d0a843f7542d6079aa3a7d8f2
tree361362d4e0247f83ce40fd76a5b0e2f1147d54ef
parentc478f8ad6cf57425ffdae56a7c18b62b27985ea4
spirv: Error if OpCompositeInsert/Extract has OOB indices

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4495>
src/compiler/spirv/spirv_to_nir.c