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