1#version 450
2
3#extension GL_EXT_buffer_reference : enable
4
5layout(buffer_reference, std140) buffer t3 {
6 int h;
7};
8
9layout(set = 1, binding = 2, std140) uniform t4 {
10 layout(offset = 0) int j;
11 t3 k;
12} x;
13
14void main() {
15 x.k.h = x.j;
16}
17