mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-14 22:01:04 +00:00
15 lines
205 B
GLSL
15 lines
205 B
GLSL
|
#version 140
|
||
|
|
||
|
layout (std140) uniform UBO // offset can't use under version 140
|
||
|
{
|
||
|
layout(offset = 0) vec4 a;
|
||
|
};
|
||
|
|
||
|
in vec4 in_vs;
|
||
|
out vec4 out_vs;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
out_vs = in_vs + a;
|
||
|
}
|