☰
Debian Codegraph
@
1.9.25+dfsg3-3
/
/
third_party
/
spirv-cross
/
shaders-hlsl
/
frag
/
boolean-mix.frag
☽
☼
third_party/spirv-cross/shaders-hlsl/frag/boolean-mix.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 310 es
2
precision mediump float;
3
4
layout(location = 0) in vec2 x0;
5
layout(location = 0) out vec2 FragColor;
6
7
void main()
8
{
9
FragColor = x0.x > x0.y ? vec2(1.0, 0.0) : vec2(0.0, 1.0);
10
}