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

[Boot2Qt ] 'Failed to build graphics pipeline' when running 'orderindependenttransparency' example

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.9.0 RC
    • None
    • Linux/Yocto
    • 86e357367 (dev), f39b02ed4 (6.9)

    Description

      MacOS 15.3.2

      Qt Creator 16.0.0

      Qt 6.9.0

      Device: Raspberry Pi4 64 bit with Qt 6.9.0

      Steps to reproduce:

      1. Run order-independent transparency example from  Examples/Qt-6.9.0/quick3d/orderindependenttransparency

       

      Expected: The content is rendered or proper message is displayed in the console that it's not supported.

      Actual: The black screen appears and error:

      Failed to compile shader: 0:2(12): error: extension `GL_OES_sample_variables' unsupported in fragment shaderSource was:
      #version 300 es
      #extension GL_OES_sample_variables : require
      precision highp float;
      precision highp int;uniform highp sampler2DMS accumTexture;
      uniform highp sampler2DMS revealageTexture;in vec2 uv_coord;
      layout(location = 0) out vec4 fragOutput;void main()
      {
          vec2 uv = uv_coord;
          ivec2 iuv = ivec2(uv * vec2(textureSize(accumTexture)));
          vec4 accum = texelFetch(accumTexture, iuv, gl_SampleID);
          float a = 1.0 - texelFetch(revealageTexture, iuv, gl_SampleID).x;
          vec4 color = vec4(accum.xyz / vec3(clamp(accum.w, 9.9999997473787516355514526367188e-05, 5000000.0)), a);
          fragOutput = color;
      }
      Failed to build graphics pipeline state

      Reproducibility:  100%

      Attachments

        Issue Links

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

          Activity

            People

              anmaatta Antti Määttä
              lkos Łukasz Kosiorowski
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There is 1 open Gerrit change