Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build successful but run fail when check enable FallbackLayer #2

Open
ArionTT opened this issue Dec 14, 2018 · 1 comment
Open

Build successful but run fail when check enable FallbackLayer #2

ArionTT opened this issue Dec 14, 2018 · 1 comment

Comments

@ArionTT
Copy link

ArionTT commented Dec 14, 2018

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.

@philcn
Copy link
Owner

philcn commented Mar 15, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants