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

Shaders generated from shader graphs are incomplete with some layer combinations

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P0: Blocker
    • Resolution: Fixed
    • Affects Version/s: 5.15.0 Beta4
    • Fix Version/s: None
    • Component/s: Qt3D
    • Labels:
      None

      Description

      Given this graph:

            _      _edge0i_ function0 _edge0o_
      {{     /                              }}
      {{ input                                output}}
           _edge1i__ function1 _edge1o_/

      with function0 and edge0o on layer "0" only
       and function1 and edge1o on layer "1" only
       and all other nodes and edges on all layers.

      The QShaderGraph class fails to to generate statements with enabledLayers = {"0"}.

      The issue is that when only layer "1" is disabled, edge1i doesn't get properly discarded and Kahn's algorithm doesn't ever schedule input.

        Attachments

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

          Activity

            People

            Assignee:
            seanharmer Sean Harmer
            Reporter:
            nic264 Nicolas Guichard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There is 1 open Gerrit change