You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
205 B

#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;
}