spirv: Add better validation to Op[Spec]Constant
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 12 Dec 2017 06:15:04 +0000 (22:15 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 8 Jan 2018 22:57:44 +0000 (14:57 -0800)
commitdabce5061d9a49ebbf269d651e086e638be01aa9
treeeb435a548503a7ff9570c5836dae5b1425b7e8d1
parent6cf965751a5bbb015d53bdec0663d6bed66a9026
spirv: Add better validation to Op[Spec]Constant

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/compiler/spirv/spirv_to_nir.c