bgfx/3rdparty/glslang/Test/spv.noBuiltInLoc.vert
Branimir Karadžić f32163520b Updated glslang.
2018-04-13 19:31:28 -07:00

19 lines
267 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;
layout(binding = 0) uniform atomic_uint a_uint;
void main()
{
bar = foo;
gl_Position = foo;
}