summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/3rdparty/spirv-cross/shaders-msl/frag/fragment-component-padding.pad-fragment.frag
blob: 240c59b9bb6c09909c138d69b55c75e3afe4a828 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#version 450
layout(location = 0) out float FragColors[2];
layout(location = 2) out vec2 FragColor2;
layout(location = 3) out vec3 FragColor3;
layout(location = 0) in vec3 vColor;

void set_globals()
{
	FragColors[0] = vColor.x;
	FragColors[1] = vColor.y;
	FragColor2 = vColor.xz;
	FragColor3 = vColor.zzz;
}

void main()
{
	set_globals();
}