SPIRV-Cross/shaders-msl-no-opt/components/fragment-output-component.frag

13 lines
272 B
GLSL

#version 450
layout(location = 0, component = 0) out float FragColor0;
layout(location = 0, component = 1) out vec2 FragColor1;
layout(location = 0, component = 3) out float FragColor3;
void main()
{
FragColor0 = 1.0;
FragColor1 = vec2(2.0, 3.0);
FragColor3 = 4.0;
}