Needs D3D8to9 wrapper (d3d8.dll) to work:
https://github.com/crosire/d3d8to9/releases
Depth buffer is limited to the weapon. Hiding the weapon through the two console commands bemymonkey and toggleinvisibility gives access to the full depth buffer and effects such as DOF and MXAO.