Debian Codegraph @

third_party/spirv-cross/shaders-hlsl/frag/boolean-mix.frag

raw
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 }