1#version 300 es 2 3layout (binding = 0, offset = 0) uniform UBO // offset can't use on under version es 300 4{ 5 vec4 a; 6}; 7 8in vec4 in_vs; 9out vec4 out_vs; 10 11void main() 12{ 13 out_vs = in_vs + a; 14} 15