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

Uniforms not updated when property is dynamically added to QShaderData

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.14
    • Qt3D
    • None
    • Linux/X11, macOS

    Description

      When a property is dynamically added to an existing QShaderData, the corresponding uniforms are not updated.

      This seems to be a regression in 5.14; we have some code that relied on this which used to work with 5.12.

      I have added a simple test case showing the problem. There's a shader that has a QShaderData parameter. When a timer is triggered, a property is added to the QShaderData, but the uniform is not updated.

      Attachments

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

        Activity

          People

            seanharmer Sean Harmer
            mauro.persano Mauro Persano
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes