• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#version 430 core
2
3layout (std140) uniform UBO // offset can't use on 430 core with out extension require
4{
5    layout(offset = 0) vec4 a;
6};
7
8in  vec4 in_vs;
9out vec4 out_vs;
10
11void main()
12{
13    out_vs = in_vs + a;
14}
15