Details
-
Task
-
Resolution: Fixed
-
Not Evaluated
-
6.6, 6.8
-
None
-
-
95c20ffac (dev), c56553ae3 (6.7)
Description
When using the D3D12 rhi backend if you attempt to import an existing ID3D12Device it will crash. I've got a patch that fixes this already which I will attach in a sec, the problem is that the activeAdapter is not set for the code path where you import an existing device which then causes logic to call IDXGIAdapter1::GetDesc on an uninitalized pointer.
Attached is a simple project which demonstrates the issue.
Attachments
For Gerrit Dashboard: QTBUG-122007 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
538906,1 | Initialize QRhiD3D12::activeAdapter for imported device path | 6.6 | qt/qtbase | Status: NEW | 0 | 0 |