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

[Boot2Qt] Getting "Failed to build graphics pipeline" on i.MX 8M Mini EVK when running Surface Gallery example

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.9.2, 6.10.0 Beta2
    • Quick: 3D
    • None
    • Linux/Yocto

      Environment:

      MacOS 15.4.1

      Qt Creator 18.0.1

      Qt 6.10 beta 2

       

      Device: i.MX 8M Mini EVK

       

      Steps to reproduce:

      1. Run https://doc.qt.io/qt-6/qtdatavis3d-qmlsurfacegallery-example.html example on mentioned device (EGLFS platform)

      Expected: Graphs are visible.

      Actual: Graphs are not displayed because of the error.

      Failed to compile shader: (38:0) : error : type qualifier other than variance qualifier and precise qualifier is specified.
      (38:0) : error : Identifier 'sampler2DArray' not found
      (38:0) : error : syntax error at 'qt_shadowmap_texture_16_1024'Source was:
      #version 100struct cbMain
      {
          vec4 baseColor;
          lowp int baseVisible;
          vec4 gridLineColor;
          lowp int gridOnTop;
          lowp int gridVisible;
          float gridWidth;
          vec3 margin;
          lowp int polar;
          vec3 qt_cameraDirection;
          vec3 qt_cameraPosition;
          vec2 qt_cameraProperties;
          vec3 qt_light_ambient_total;
          vec4 qt_material_base_color;
          vec3 qt_material_emissive_color;
          vec4 qt_material_properties;
          vec4 qt_material_properties2;
          vec4 qt_material_properties3;
          vec4 qt_material_specular;
          mat4 qt_modelMatrix;
          mat4 qt_modelViewProjection;
          mat3 qt_normalMatrix;
          vec4 qt_rhi_properties;
          mat4 qt_viewMatrix;
          mat4 qt_viewProjectionMatrix;
          vec3 scale;
          vec4 subgridLineColor;
          lowp int xCategory;
          lowp int zCategory;
      };uniform cbMain _52;uniform highp sampler2D gridTex;
      uniform highp sampler2DArray qt_shadowmap_texture_16_1024;attribute vec3 attr_pos;
      attribute vec3 attr_norm;
      attribute vec2 attr_uv0;
      attribute vec3 attr_textan;
      attribute vec3 attr_binormal;
      varying vec3 qt_varWorldPos;
      varying vec3 qt_varNormal;
      varying vec3 qt_varTangent;
      varying vec3 qt_varBinormal;
      varying vec2 qt_varTexCoord0;void main()
      {
          vec4 qt_vertPosition = vec4(attr_pos, 1.0);
          vec3 qt_vertNormal = vec3(0.0);
          vec3 qt_vertTangent = vec3(0.0);
          vec3 qt_vertBinormal = vec3(0.0);
          vec2 qt_vertUV0 = vec2(0.0);
          vec4 qt_vertColor = vec4(1.0);
          qt_vertNormal = attr_norm;
          qt_vertUV0 = attr_uv0;
          qt_vertTangent = attr_textan;
          qt_vertBinormal = attr_binormal;
          gl_Position = _52.qt_modelViewProjection * qt_vertPosition;
          vec3 qt_local_model_world_position = (_52.qt_modelMatrix * qt_vertPosition).xyz;
          qt_varWorldPos = qt_local_model_world_position;
          vec3 qt_world_normal = normalize(_52.qt_normalMatrix * qt_vertNormal);
          qt_varNormal = qt_world_normal;
          qt_varTangent = (_52.qt_modelMatrix * vec4(qt_vertTangent, 0.0)).xyz;
          qt_varBinormal = (_52.qt_modelMatrix * vec4(qt_vertBinormal, 0.0)).xyz;
          qt_varTexCoord0 = qt_vertUV0;
          vec2 qt_varTexCoord1 = vec2(0.0);
      }
      Failed to build graphics pipeline state 

      Reproducibility:  100%

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

            qt.team.graphics.and.multimedia Qt Graphics Team
            lkos Łukasz Kosiorowski
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes