3 #extension GL_EXT_buffer_reference : enable
\r
5 layout(buffer_reference, std430) buffer blockType {
\r
6 layout(offset = 0) int a;
\r
7 layout(offset = 4) int b;
\r
8 layout(offset = 8) int c;
\r
9 layout(offset = 12) int d;
\r
10 layout(offset = 16) int e;
\r
13 layout(std430) buffer t2 {
\r
18 layout(std430, buffer_reference) buffer T2 { int x; };
\r
19 layout(std430, buffer_reference) buffer T1 { int x; };
\r
26 layout(set=0, binding=0) buffer T3 {
\r
31 t3.Bindings[0] = t3.Bindings[1];
\r