From: Jason Ekstrand Date: Thu, 31 Dec 2015 05:57:04 +0000 (-0800) Subject: nir/spirv: Add a missing break statement in handle_image X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1ddcbbf05f051365345bec465054efcafb579bdb;p=mesa.git nir/spirv: Add a missing break statement in handle_image --- diff --git a/src/glsl/nir/spirv/spirv_to_nir.c b/src/glsl/nir/spirv/spirv_to_nir.c index 8527c8b232f..681adc74d1f 100644 --- a/src/glsl/nir/spirv/spirv_to_nir.c +++ b/src/glsl/nir/spirv/spirv_to_nir.c @@ -2273,6 +2273,7 @@ vtn_handle_image(struct vtn_builder *b, SpvOp opcode, } else { image.sample = nir_ssa_undef(&b->nb, 1); } + break; default: unreachable("Invalid image opcode");