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_reference) buffer t2 {
\r
18 layout(std430) buffer t3 {
\r
23 t.f = blockType(u.f);
\r