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

[Qt 3D] QSG_RHI_BACKEND : d3d11 produces unexpected results

    XMLWordPrintable

Details

    • Windows

    Description

      Objects are drawn fine with QSG_RHI_BACKEND: opengl.
      However, the same code with "d3d11" produces a different result (wrong aspect ratio, no lines) and the error message below.

      Failed to create input layout: Error 0x80070057: ???????????????
      Qt3D.Renderer.RHI.Backend: Failed to build graphics pipeline: Creation Failed
      

      opegl

      d3d11

      The sample code Qtbug106082.zip is attached.
      Build and run.
      Switch between opengl/d3d11 in main.cpp.

      Attachments

        1. Qtbug106082-opengl.png
          Qtbug106082-opengl.png
          9 kB
        2. Qtbug106082-d3d11.png
          Qtbug106082-d3d11.png
          9 kB
        3. Qtbug106082.zip
          6 kB

        Activity

          People

            anmaatta Antti Määttä
            nagrohn Nahomi Gröhn (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: