Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.4.0, 6.5.1, 6.6.0 Beta1
-
None
-
-
e090853ad (dev), 747ceb851 (6.6), e0fb09e83 (6.5), 27b1b8614 (tqtc/lts-6.2)
Description
Passing an external MTLDevice to Qt will always fail because the code is checking if the current device is valid instead of the imported device when calling `QQuickRenderControl::initialize`.
https://github.com/qt/qtbase/blob/dev/src/gui/rhi/qrhimetal.mm#L465C9-L465C22
Attachments
For Gerrit Dashboard: QTBUG-115002 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
489160,2 | rhi: metal: Fix external MTLDevice import | dev | qt/qtbase | Status: MERGED | +2 | 0 |
489566,2 | rhi: metal: Fix external MTLDevice import | 6.6 | qt/qtbase | Status: MERGED | +2 | 0 |
489567,2 | rhi: metal: Fix external MTLDevice import | 6.5 | qt/qtbase | Status: MERGED | +2 | 0 |
489568,2 | rhi: metal: Fix external MTLDevice import | tqtc/lts-6.2 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |