nir/spirv: Add a missing break statement in handle_image

This commit is contained in:
Jason Ekstrand 2015-12-30 21:57:04 -08:00
parent 4f9a211b4a
commit 1ddcbbf05f
1 changed files with 1 additions and 0 deletions

View 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");