From: Jason Ekstrand Date: Tue, 12 Jan 2016 01:03:16 +0000 (-0800) Subject: nir/spirv/cfg: Allow breaking from the continue block X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=24523e98a466e7a7788006b7755673b92074df5e;p=mesa.git nir/spirv/cfg: Allow breaking from the continue block --- diff --git a/src/glsl/nir/spirv/vtn_cfg.c b/src/glsl/nir/spirv/vtn_cfg.c index bc71e8afa7c..a927fb728c1 100644 --- a/src/glsl/nir/spirv/vtn_cfg.c +++ b/src/glsl/nir/spirv/vtn_cfg.c @@ -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;