#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 PtrUint;
layout(buffer_reference) buffer PtrInt;
layout(buffer_reference, buffer_reference_align = 4, std430) buffer PtrUint
{
    uint value;
};

layout(buffer_reference, buffer_reference_align = 16, std430) buffer PtrInt
{
    int value;
};

layout(set = 0, binding = 0, std430) buffer Buf
{
    PtrUint ptr;
} _11;

void main()
{
    PtrInt(_11.ptr).value = 10;
}

