In the DX11 tab, tick the "Copy depth before clearing" checkbox, then tick "extended depth buffer detection" checkbox, and select the fourth depth buffer texture (for me, it is the best one, as it does not display any HUD items).
Be aware that the depth buffer detection does not work when online, and that it does not work when multisampled anti-aliasing is enabled.
Thank you. There is a slight little problem though, which is that the depthmap stutters a bit, making the DOF a lil bit glitchy. Is there a possible fix for that? And also it doesn't recognize the UI so things like chat gets blurry