blob: 6ad51881f489c7283dab977b8ff0e19ebbfe5023 [file] [log] [blame]
Jeff Bolz9f2aec42019-01-06 17:58:04 -06001#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}