Hey guys,
I am working on my very first DXR "hello triangle" and hitting "DXGI_ERROR_DEVICE_HUNG: The Device took an unreasonable amount of time to execute its commands, or the hardware crashed/hung" in Present call.
My program consists of ray generation, closest hit and miss shaders.
I noticed that if I remove TraceRay call and write the result to output texture it works OK.
I have checked twice all the setup and everything seems to be OK and debug layer does not complain.
I have no more ideas what I could check. I am on GTX 1070 with the latest driver version.
Any suggestions? Thanks!