Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-74406 Abstract away the graphics APIs in Qt
  3. QTBUG-78972

Improve QRhi regression testing - further autotests? Lancelot? etc.

    XMLWordPrintable

    Details

    • Type: Technical task
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Fix Version/s: 6.0
    • Component/s: Qt RHI
    • Labels:
      None

      Description

      Practice shows that we are not yet perfect at catching regressions in the QRhi backends. (note that breaks do not occur in the QRhi API itself, but in the backends, sometimes intertwined with the shader management in qtshadertools - so testing the interface itself is futile, the actual backend code must be exercised "live")

      • We must figure out a way to perform basic automated testing for Vulkan and Metal. The qrhi autotest is only exercised for OpenGL and D3D11 in CI.

      Case in point: the 5.15 branch lived in a somewhat broken state for Metal for several weeks (affecting only when using .qsb files generated with an older version of shadertools - not really fatal but proves the point), not discovered until running the manual tests (qtbase/tests/manual/rhi).

      Qt 6.0 cannot ship in this state.

      • Revisit how we can utilize Lancelot even better. For example, should a dedicated QRhi test set created based on the manual tests?
      • While the autotest already does some actual rendering, this can be enhanced further to exericise more features.

        Attachments

          Issue Links

          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