xkslang/Test/spv.noBuiltInLoc.vert

17 строки
216 B
GLSL

#version 450 core
layout(location = 0)
in vec4 foo;
layout(location = 0)
out vec4 bar;
uniform vec4 uv1;
uniform float uv2;
uniform vec3 uv3;
void main()
{
bar = foo;
gl_Position = foo;
}