Open
Description
D3D12CreateDevice()
is a singleton per adapter. This makes it impossible to mix usage of non-debug followed by-debug
d3d12 runtimes in the same application (at least not without adevice_release
happening between the transition). The other way around (-debug
followed by non-debug) actually works, but the non-debug device will be the-debug
device created previously...). To test these behaviors uselesson_12_using_the_gpu.cpp
where there is ahost_supports_target_device()
call and a subsequentschedule_for_gpu()
, each of which could be using a different target (or rather, a different-debug
feature).