sample it like this:
output = DepthBuffer.Sample(PointSampler, input.UV); output = ToLinearZ(output.r);
I simply use the same projection matrix I'm using for the whole scene (I just have one).
As the projection matrix does not change it would be the exact same one as when I rendered my geometry or not ?