-
Notifications
You must be signed in to change notification settings - Fork 20
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
How to run NRD sample from Visual Studio 2022? #19
Comments
Most likely your Windows and/or WinSDK are outdated. Could you post the results of |
Another suggestion - running with the validation layer enabled to see the info about the error (force enable, use |
Please, install latest Win SDK. DXC from your old Win SDK doesn't support SM 6.6, which is needed for SHARC: |
Will do it as soon i can thank you<3 |
I generated NRDSample.sln solution using cmake:
cmake -G "Visual Studio 17 2022" -A x64
Build passes but when I launch the sample i get these errors:
_NRI::INFO(DeviceD3D12.cpp:231) - D3D12::NVIDIA GeForce RTX 3080 - Using ID3D12Device5
NRI::WARNING(DeviceD3D12.cpp:287) - D3D12::NVIDIA GeForce RTX 3080 - nri::DeviceD3D12::FillDesc: ID3D12Device::CheckFeatureSupport(shaderModel) failed, result = 0x80070057!
'NRDSample.exe' (Win32): Loaded 'C:\Windows\System32\dcomp.dll'.
Exception thrown at 0x00007FFD490BCF19 in NRDSample.exe: Microsoft C++ exception: _com_error at memory location 0x000000808C2FD5F0.
NRI::ERROR(PipelineD3D12.cpp:403) - D3D12::NVIDIA GeForce RTX 3080 - nri::PipelineD3D12::Create: ID3D12Device::CreateComputePipelineState() failed, result = 0x80070057!
A breakpoint instruction (_debugbreak() statement or a similar call) was executed in NRDSample.exe.
The text was updated successfully, but these errors were encountered: