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

D3D12 chokes on doublesided materials with multiview rendering

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8
    • Quick: 3D
    • None
    • bd2047e4c (dev)

    Description

      The doublesided logic makes D3D12 fail pipeline creation with

      ID3D12Device::CreateGraphicsPipelineState: Internal runtime error validating PS stage in a PSOs used with view instancing. [ STATE_CREATION ERROR #1105: CREATEGRAPHICSPIPELINESTATE_RUNTIME_INTERNAL_ERROR]
      

      This is due to gl_FrontFacing, that becomes more or less this with HLSL via SPIRV-Cross:

          static bool gl_FrontFacing;
          ...
          struct SPIRV_Cross_Input
          {
              ...
              bool gl_FrontFacing : SV_IsFrontFace;
          };
      

      We do not know why SV_IsFrontFace makes it choke when view instancing (== multiview) is in use.

      Attachments

        For Gerrit Dashboard: QTBUG-122142
        # Subject Branch Project Status CR V

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes