• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#version 450
2
3layout(set = 0, binding = 0, std140) uniform n1 {
4    layout(offset = 8)  int a;
5    layout(offset = 4)  int b;
6    layout(offset = 0)  int c;
7    layout(offset = 12) int d;
8} i1;
9
10layout(set = 0, binding = 1, std430) buffer n2 {
11    layout(offset = 32) vec3 e;
12                        vec3 f;
13    layout(offset = 16) vec3 g;
14    layout(offset = 0)  vec3 h;
15} i2;
16
17void main() {}