☰
Debian Codegraph
@
1.9.25+dfsg3-3
/
/
third_party
/
spirv-cross
/
shaders
/
frag
/
for-loop-continue-control-flow.frag
☽
☼
third_party/spirv-cross/shaders/frag/for-loop-continue-control-flow.frag
code
plain
raw
Apache-2.0
2012-2021, The Android Open Source Project; 2015-2021, Google LLC; 2017, Romain Guy
debian/copyright
1
#version 450
2
layout(location = 0) out vec4 FragColor;
3
void main()
4
{
5
FragColor = vec4(0.0);
6
for (int i = 0; i < 3; (0 > 1) ? 1 : i ++)
7
{
8
int a = i;
9
FragColor[a] += float(i);
10
}
11
}