mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 20:08:06 +02:00
nir/spirv/cfg: Allow breaking from the continue block
This commit is contained in:
parent
c381906bbd
commit
24523e98a4
1 changed files with 1 additions and 1 deletions
|
|
@ -276,7 +276,7 @@ vtn_cfg_walk_blocks(struct vtn_builder *b, struct list_head *cf_list,
|
|||
vtn_cfg_walk_blocks(b, &loop->body, block, switch_case, NULL,
|
||||
new_loop_break, new_loop_cont, NULL );
|
||||
vtn_cfg_walk_blocks(b, &loop->cont_body, new_loop_cont, NULL, NULL,
|
||||
NULL, NULL, block);
|
||||
new_loop_break, NULL, block);
|
||||
|
||||
block = new_loop_break;
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue