Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-122007

Crash when importing existing ID3D12Device with QQuickGraphicsDevice

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Not Evaluated
    • 6.7.0 Beta3, 6.8.0 FF
    • 6.6, 6.8
    • Qt RHI
    • None
    • Windows
    • 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

        Activity

          People

            lagocs Laszlo Agocs
            haiku Ollie Dawes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There is 1 open Gerrit change