nir/spirv: Use unreachable("...") rather than assert(!"...")
authorMatt Turner <mattst88@gmail.com>
Fri, 7 Jul 2017 01:43:28 +0000 (18:43 -0700)
committerMatt Turner <mattst88@gmail.com>
Tue, 29 Aug 2017 22:20:57 +0000 (15:20 -0700)
commit02ba0d5a7bd514c7e84111854bb29de1b07eb8cd
tree2913da0e572dc8b2094c0f1b8e766c6c8ce54ae3
parentf99bde0dad01bf7c1c89ff3d2553930530848eec
nir/spirv: Use unreachable("...") rather than assert(!"...")

Quiets a number of uninitialized variable warnings in clang.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/compiler/spirv/spirv_to_nir.c
src/compiler/spirv/vtn_variables.c