DXRExperiments icon indicating copy to clipboard operation
DXRExperiments copied to clipboard

Build successful but run fail when check enable FallbackLayer

Open ArionTT opened this issue 6 years ago • 1 comments

On OnInit():

    m_deviceResources->RegisterDeviceNotify(this);
    m_deviceResources->SetWindow(Win32Application::GetHwnd(), GetWidth(), GetHeight());
    m_deviceResources->InitializeDXGIAdapter();
    mNativeDxrSupported = IsDirectXRaytracingSupported(m_deviceResources->GetAdapter());
    ThrowIfFalse(EnableComputeRaytracingFallback(m_deviceResources->GetAdapter()));

When run to EnableComputeRaytracingFallback() and it return false, the program is throw a error. Is my fault to config a error fallbacklayer? How to config the correct FallbackLayer? My graphic card is NVIDIA GTX 1060 6G.

ArionTT avatar Dec 14 '18 18:12 ArionTT

Sorry this is kind of late, but I just figured out why you're getting this today. You probably didn't enable developer mode in Windows settings. Enable it and it should work.

philcn avatar Mar 15 '19 07:03 philcn