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

D3D11 debug layer warning is printed when having a vertex shader with no inputs

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 6.1, 6.2
    • Fix Version/s: 6.1.2, 6.2.0 Alpha
    • Component/s: Qt RHI, Quick: 3D
    • Labels:
      None
    • Commits:
      347310eb21facbd03d2168d67d83fdbfd6f6888c (qt/qtbase/dev) 4aae624836871c315d81078c5ae78b082a26bd49 (qt/qtbase/6.1)
    • Sprint:
      Qt Quick 3D - 2021 Week 21/22

      Description

      Not having any inputs in a vertex shader is perfectly valid, as is exercised by Quick 3D particles now. With D3D11 creating an input layout object with 0 elements leads to a STATE_CREATION WARNING #420 debug layer warning, when enabled (i.e. when running with QSG_RHI_DEBUG_LAYER=1). This should be handled in QRhi's D3D11 backend by skipping the input layout object creation as appropriate, and rather calling IASetInputLayout with nullptr if there are no inputs.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            lagocs Laszlo Agocs
            Reporter:
            lagocs Laszlo Agocs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes