projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c381906
)
nir/spirv/cfg: Allow breaking from the continue block
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Tue, 12 Jan 2016 01:03:16 +0000
(17:03 -0800)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Tue, 12 Jan 2016 01:03:16 +0000
(17:03 -0800)
src/glsl/nir/spirv/vtn_cfg.c
patch
|
blob
|
history
diff --git
a/src/glsl/nir/spirv/vtn_cfg.c
b/src/glsl/nir/spirv/vtn_cfg.c
index bc71e8afa7cb2b85480f02310f52434cd7c478ab..a927fb728c1521b17b571952923902c172f41cb9 100644
(file)
--- 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;