Hi,
I just updated to the new sdk 10.0.14393.33 and if I activate the D3D12 Debug layer D3D12CreateDevice simply fails.
// Enable the D3D12 debug layer ComPtr< ID3D12Debug > debugController; if(SUCCEEDED(D3D12GetDebugInterface(IID_PPV_ARGS(&debugController)))) { debugController->EnableDebugLayer(); //ComPtr< ID3D12Debug1 > debugController1; //if(FAILED(debugController->QueryInterface(IID_PPV_ARGS(&debugController1)))) // throw "Failed to retrieve debug controller"; //debugController1->SetEnableGPUBasedValidation(true); } // Get adapter ComPtr< IDXGIAdapter1 > dxgiAdapter; if(FAILED(dxgiFactory->EnumAdapters1(0, &dxgiAdapter))) throw "Failed to retrieve default adapter"; if(FAILED(dxgiAdapter.As(&m_adapter))) throw "Failed to retrieve adapter"; // Create DirectX12 device if(FAILED(D3D12CreateDevice(m_adapter.Get(), D3D_FEATURE_LEVEL_12_1, IID_PPV_ARGS(&m_device)))) if(FAILED(D3D12CreateDevice(m_adapter.Get(), D3D_FEATURE_LEVEL_12_0, IID_PPV_ARGS(&m_device)))) if(FAILED(D3D12CreateDevice(m_adapter.Get(), D3D_FEATURE_LEVEL_11_1, IID_PPV_ARGS(&m_device)))) if(FAILED(D3D12CreateDevice(m_adapter.Get(), D3D_FEATURE_LEVEL_11_0, IID_PPV_ARGS(&m_device)))) throw "Failed to create DirectX12 device";
That used to work with 10.0.10586.0 ...