#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 Blah;
layout(buffer_reference) buffer Foo;

layout(buffer_reference, buffer_reference_align = 8, std430) buffer Blah
{
    Foo foo;
    int a;
};

layout(buffer_reference, std430) buffer Foo
{
    int b;
};

layout(push_constant, std430) uniform Registers
{
    Blah blah;
} _57;

void main()
{
    _57.blah.a = 10;
}

