projects
/
platform
/
upstream
/
glslang.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #2865 from alan-baker/update-license
[platform/upstream/glslang.git]
/
Test
/
spv.dead-after-switch-break.vert
1
#version 450
2
3
layout(location =0 ) in int c;
4
layout(location =0 ) out int o;
5
6
void main() {
7
int i;
8
switch(c) {
9
case 0: o=1;
10
break;
11
o=2;
12
default: break;
13
}
14
o = 3;
15
}