projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc3f659
)
nir/spirv/cfg: Handle unreachable instructions
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Mon, 11 Jan 2016 23:35:15 +0000
(15:35 -0800)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Mon, 11 Jan 2016 23:35:15 +0000
(15:35 -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 db1163d0707f6a7fe71b33d5343ed6a68c5cb3fd..bc71e8afa7cb2b85480f02310f52434cd7c478ab 100644
(file)
--- a/
src/glsl/nir/spirv/vtn_cfg.c
+++ b/
src/glsl/nir/spirv/vtn_cfg.c
@@
-426,6
+426,8
@@
vtn_cfg_walk_blocks(struct vtn_builder *b, struct list_head *cf_list,
}
case SpvOpUnreachable:
+ return;
+
default:
unreachable("Unhandled opcode");
}