Does atomicAdd on a storage buffer have to be dynamically uniform?

In a situation like below, does the offset value need to be dynamically uniform?

uint offset = texelFetch(tex, coord).r;
atomicAdd(mystoragebuffer[offset], 1);