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 #2891 from dneto0/hlsl-namespace
[platform/upstream/glslang.git]
/
Test
/
spv.dead-after-loop-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
o = 1;
9
for (i=0; i < 5; i++) {
10
o = 2;
11
if (i==c) {
12
o = 3;
13
break;
14
o = 4;
15
}
16
o = 5;
17
}
18
o = 6;
19
}