could you check whether d3d12SDKLayers.dll is existing in your system? @Rita Han - MSFT I looked in file explorer and found it in many place's
You can run this official sample ( ASSERT_SUCCEEDED( g_Device->CreateGraphicsPipelineState(&m_PSODesc, MY_IID_PPV_ARGS(&m_PSO)) ); ) did you mean download it? because ASSERT_SUCCEEDED() macro is not avalible in the d3d12.h header file.
if you asked me to download them it does not load any of the samples
to see if it has the same issue for you. And for reproducing your issue could you show more detailed information as below?
all code is downloadable and builds through CMake the repo is here :LunaLuxDirectX12Lib
- Show steps for how we can reproduce this issue like how to build and run your project?
all I did was build my CMake project I don't know how I am causing the fault to reproduce it. directx12 is my first low-level experience with graphics API and the documentation does not cover the function fault in detail.