☰
Debian Codegraph
@
1.9.25+dfsg3-3
/
/
third_party
/
spirv-cross
/
shaders
/
frag
/
selection-block-dominator.frag
☽
☼
third_party/spirv-cross/shaders/frag/selection-block-dominator.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
layout(location = 0) flat in int vIndex;
4
5
void main()
6
{
7
int v;
8
if (vIndex != 1)
9
{
10
FragColor = vec4(1.0);
11
return;
12
}
13
else
14
{
15
v = 10;
16
}
17
FragColor = vec4(v);
18
}