NRDSample icon indicating copy to clipboard operation
NRDSample copied to clipboard

How to run NRD sample from Visual Studio 2022?

Open StudenteChamp2 opened this issue 5 months ago • 7 comments

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.

StudenteChamp2 avatar Sep 07 '24 19:09 StudenteChamp2