im using d3d11 through slimdx
when i try to reload settings and basically reinitialize everything the exact same way i created it in the first place i end up getting SEH exceptions that then lead to DXGI_ERROR_DEVICE_REMOVED: Hardware device removed. (-2005270523). i have been seeing this intermittently for a while and have never really been able to track it down. i get nothing in the output window and SEH exceptions are about as useful as a poke in the eye when there is no more information. and microsoft says the device removed exception is coming from the device literally being removed which is obviously and absolutely not happenning as it is in a laptop and the error is repeatable in software. the get_device_removed_reason just tells me it was an internal driver error...
and when i rebuild the device the error persists, i put a try catch around the swapchain.present and when i get a device removed i rebuild the entire device and it keeps giving me the error until i restart the application entirely.
anyone have any idea how i can try to further track it down?