7a69d764b0
Verifies that Component decoration is honored for vertex outputs and fragment inputs.
11 lines
204 B
GLSL
11 lines
204 B
GLSL
#version 450
|
|
|
|
layout(location = 0, component = 3) in float Foo1;
|
|
layout(location = 0, component = 0) in vec3 Foo3;
|
|
layout(location = 0) out vec4 FragColor;
|
|
|
|
void main()
|
|
{
|
|
FragColor = vec4(Foo3, Foo1);
|
|
}
|