repo.or.cz
/
glslang.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bump github/codeql-action from 3.27.1 to 3.27.4
[glslang.git]
/
Test
/
spv.dead-after-loop-break.vert
blob
5498497c3e3ccfcadbe7fc6ffb5b361b6a26ce96
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
}