nir/spirv: Make a decoration switch complete

Graphics / Mesa 3D Graphics Library / Mesa - Jason Ekstrand [intel.com] - 3 June 2016 21:29 UTC

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.

526a8de nir/spirv: Make a decoration switch complete
src/compiler/spirv/spirv_to_nir.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)

Upstream: cgit.freedesktop.org


  • Share