1#version 450 2 3#extension GL_EXT_buffer_reference : enable 4 5layout(buffer_reference) buffer t4; 6 7layout(buffer_reference, std430) buffer t3 { 8 int h; 9 t4 i; 10}; 11 12layout(set = 1, binding = 2, buffer_reference, std430) buffer t4 { 13 layout(offset = 0) int j; 14 t3 k; 15} x; 16 17layout(std430) buffer t5 { 18 t4 m; 19} s5; 20 21void main() { 22 x.k.h = s5.m.k.i.k.i.k.h; 23 24 bool b = true; 25 s5.m = b ? s5.m : s5.m.k.i; 26} 27