Hello everyone!
I'm trying out DX12 (did some work in DX11 and a lot in OGL), but I got some issues.
First of all, how to enable debug in DX12? In my code (copied from tutorial)
ID3D12Debug* debugController;
if (SUCCEEDED(D3D12GetDebugInterface(IID_PPV_ARGS(&debugController))))
{
debugController->EnableDebugLayer();
std::cout << "DEBUG enabled...\n";
}
else
{
std::cerr << "DEBUG NOT WORKING!\n";
}
and it always fails. I tried it event in DX tutorials I got from GitHUB - the same. In DX11 there was this DX Control Panel app, in which I enabled debug, but I cant find it in Win10.
Secondly, I am planning to do some GPU coop, that probably means creating a context on a device with no monitor attached. I have a GTX 780 (monitor attached) and integrated Intel HD 4600. I see the Intel chip among the adapters, but I cannot create context on that card. I even tried to lower the feature level to 10, but it fails anyway. So how to create a multi-GPU context / context for off-screen rendering?

