mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-28 09:40:21 +01:00
nir/spirv/cfg: Handle unreachable instructions
This commit is contained in:
parent
fc3f659aa9
commit
bb5882e6af
1 changed files with 2 additions and 0 deletions
|
|
@ -426,6 +426,8 @@ vtn_cfg_walk_blocks(struct vtn_builder *b, struct list_head *cf_list,
|
|||
}
|
||||
|
||||
case SpvOpUnreachable:
|
||||
return;
|
||||
|
||||
default:
|
||||
unreachable("Unhandled opcode");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue