nir/spirv: Add a missing break statement in handle_image
This commit is contained in:
parent
4f9a211b4a
commit
1ddcbbf05f
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue