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