nir/spirv: Add a missing break statement in handle_image
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 31 Dec 2015 05:57:04 +0000 (21:57 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 31 Dec 2015 05:57:04 +0000 (21:57 -0800)
src/glsl/nir/spirv/spirv_to_nir.c

index 8527c8b232fd1122e4b759f9dfe53f141cc94334..681adc74d1f4173ab002e9d6ea1e79d37a1b2f34 100644 (file)
@@ -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");