SPIRV-Cross/reference/shaders/desktop-only/frag/layout-component.desktop.frag
2018-09-10 12:13:26 +02:00

17 lines
288 B
GLSL

#version 450
layout(location = 0) out vec2 FragColor;
layout(location = 0, component = 0) in vec2 v0;
layout(location = 0, component = 2) in float v1;
in Vertex
{
layout(location = 1, component = 2) float v3;
} _20;
void main()
{
FragColor = (v0 + vec2(v1)) + vec2(_20.v3);
}