Debian Codegraph @

third_party/spirv-cross/shaders-msl-no-opt/components/fragment-output-component.frag

raw
1 #version 450
2
3 layout(location = 0, component = 0) out float FragColor0;
4 layout(location = 0, component = 1) out vec2 FragColor1;
5 layout(location = 0, component = 3) out float FragColor3;
6
7 void main()
8 {
9 FragColor0 = 1.0;
10 FragColor1 = vec2(2.0, 3.0);
11 FragColor3 = 4.0;
12 }