#version 450
#extension GL_EXT_buffer_reference2 : require
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;

layout(buffer_reference) buffer Foo;

struct Bar
{
    Foo f;
};

layout(buffer_reference, buffer_reference_align = 16, std430) buffer Foo
{
    float v;
};

layout(push_constant, std430) uniform Registers
{
    Bar bar;
} _12;

void main()
{
    _12.bar.f.v = 1.0;
}

