nir/spirv: Make a decoration switch complete
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 2 Jun 2016 21:36:58 +0000 (14:36 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 4 Jun 2016 02:29:28 +0000 (19:29 -0700)
commit526a8de22d85bcdc3a46b2e16e0073527616d95d
tree038e581d90d1da19fba2866d805ff5481b1967bf
parent62c6e94bd69a1287ebb4908f4ee67b8f730466cc
nir/spirv: Make a decoration switch complete

Getting rid of the default case makes the compiler warn if we are missing
cases.  While we're here, we also add the one missing case.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Cc: "12.0" <mesa-stable@lists.freedesktop.org>
src/compiler/spirv/spirv_to_nir.c