spirv: Add better parameter validation for vector and matrix types
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 6 Dec 2017 17:35:10 +0000 (09:35 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 12 Dec 2017 06:28:34 +0000 (22:28 -0800)
commit5f572ccc95bdfa1445b67511c6d2c9b23bc22208
tree756cc697b1988aa40ce5a4933c865eb2b54b4afd
parenta7c2be9944a9e2028a02fcfbab501891293401b1
spirv: Add better parameter validation for vector and matrix types

Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/compiler/spirv/spirv_to_nir.c