Sample depth buffer in OpenGL compute shader

I'm trying to sample a depth texture into a compute shader and to copy it into an other texture. The problem is that i dont get correct values when i read from the depth texture: I've tried to ch...