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

Crash on RHI with Opacity Mask effect

    XMLWordPrintable

Details

    • Linux/Other display system
    • fea1d57c2bf3cc9d14a3ee61f9c8e5273decc201 (qt/qtbase/dev) f2d0b53adbba8e67a6701063544c5584a987a756 (qt/qtbase/6.2)

    Description

      When applying Opacity Mask effect on QML project running on Vulkan backend there is expected a crash. Detailed crashlog is missing but steps to reproduce are

      • include qt5compat module in the project
      • use Qt Graphical Effects
      • apply Opacity Mask effect
      • Happens both on Vulkan and OpenGL backends with RHI

      Actual result (OpenGL): Crash and this is written to debug log:

      qt.rhi.general: Created OpenGL context QSurfaceFormat(version 3.2, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 0, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace QColorSpace(), profile  QSurfaceFormat::NoProfile)qt.rhi.general: OpenGL VENDOR: Qualcomm RENDERER: Adreno (TM) 612 VERSION: OpenGL ES 3.2 

      Shader for Opacity Mask is taken from the qbs file provided by qt5compat module.

       

       

      Attachments

        1. gltest.zip
          1 kB
          Kwanghyo Park

        Activity

          People

            lagocs Laszlo Agocs
            javihria Jarko Vihriälä
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: