pub const DEPTH_PYRAMID_MIP_COUNT: usize = 12;
The maximum number of mip levels that we can produce.
2^12 is 4096, so that’s the maximum size of the depth buffer that we support.