On 8/28/19 4:37 PM, Jactry Zeng wrote:
- hr = IUnknown_QueryInterface(device, &IID_ID3D11Device, (void **)&d3d_device);
- if (FAILED(hr))
hr = IUnknown_QueryInterface(device, &IID_ID3D12Device, (void **)&d3d_device);
Can we query for IDXGIDevice instead?
test_create_dxgi_device_manager();
- test_reset_device();
Please use existing function for that.
Also, what's a point of d3d12 device case?