There actually has been quite a bit of research done on the subject over the years.
One of the things that has been learned is that while firearms may function in shallow depths, they are badly effected by the increased weight of the water in the barrel at greater depths.