From 1ddcbbf05f051365345bec465054efcafb579bdb Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Wed, 30 Dec 2015 21:57:04 -0800 Subject: [PATCH] nir/spirv: Add a missing break statement in handle_image --- src/glsl/nir/spirv/spirv_to_nir.c | 1 + 1 file changed, 1 insertion(+) 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"); -- 2.30.2