851acf3712
Update glslang travis checkout as boolean mix support was broken on that commit.
11 lines
193 B
GLSL
11 lines
193 B
GLSL
#version 310 es
|
|
precision mediump float;
|
|
|
|
layout(location = 0) in vec2 x0;
|
|
layout(location = 0) out vec2 FragColor;
|
|
|
|
void main()
|
|
{
|
|
FragColor = x0.x > x0.y ? vec2(1.0, 0.0) : vec2(0.0, 1.0);
|
|
}
|