• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2out vec4 sk_FragColor;
3layout (binding = 123) uniform testBlock {
4    layout (offset = 0) float s;
5    layout (offset = 16) mat2 m;
6    layout (offset = 48) float[2] a;
7    layout (offset = 80) mat2[2] am;
8} test[2];
9void main() {
10    sk_FragColor = vec4(test[0].s, test[1].m[1].x, test[0].a[1], test[1].am[1][0].y);
11}
12