Open rorydriscoll opened 4 years ago
This bug is still present in February 2021, and while the majority of games simply terminate the process after VR shutdown, it would definitely be nice if it were fixed, because for apps that can toggle VR on and off it causes a device to leak every time.
This leak also impacts D3D12. It's a bigger problem in D3D12 so I create a separate issue. Please see #1520 for details on how to reproduce the VRAM leak using the openvr dx12 sample.
Under DirectX 11 using an Oculus DK2, I notice that OpenVR holds on to some references to compute shaders even after shut down. When going to shut down my application and running under VR, I end up with the device having outstanding references from six compute shaders (I don't use compute shaders, so I know they're not mine).
Is there anything else I'm missing beyond calling
vr::VR_Shutdown()
that should release these objects, or is this a bug?