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

[Tests] Warnings in tst_controls::Material::ComboBox::test_comboBoxWithShaderEffect()

    XMLWordPrintable

Details

    • 03c1374e9 (dev), 55c9ea1c1 (6.7), 53200bf0d (tqtc/lts-6.5)

    Description

      https://testresults.qt.io/coin/api/log/qt/qtdeclarative/811121e65ab01826a52ca8e40a65b8b850491a07/LinuxUbuntu_22_04x86_64LinuxUbuntu_22_04x86_64GCCqtci-linux-Ubuntu-22.04-x86_64-51-0e2735Sccache_TestDocs_TestOnly/9275033a53394b09ba47b06fc542a070989e66a7/test_1716358482/log.txt.gz

      agent:2024/05/22 07:29:58 build.go:404: 314: FAIL!  : tst_controls::Material::ComboBox::test_comboBoxWithShaderEffect() Received a warning that resulted in a failure:
      agent:2024/05/22 07:29:58 build.go:404: 314: Failed to find shader "/home/qt/work/qt/qtdeclarative/tests/auto/quickcontrols/controls/data/\n                            uniform lowp sampler2D source; // this item\n                            uniform lowp float qt_Opacity; // inherited opacity of this item\n                            varying highp vec2 qt_TexCoord0;\n                            void main() {\n                                lowp vec4 p = texture2D(source, qt_TexCoord0);\n                                lowp float g = dot(p.xyz, vec3(0.344, 0.5, 0.156));\n                                gl_FragColor = vec4(g, g, g, p.a) * qt_Opacity;\n                            }"
      agent:2024/05/22 07:29:58 build.go:404: 314:    Loc: [/home/qt/work/qt/qtdeclarative/src/quick/scenegraph/qsgrhishadereffectnode.cpp(686)]
      agent:2024/05/22 07:29:58 build.go:404: 314: FAIL!  : tst_controls::Material::ComboBox::test_comboBoxWithShaderEffect() Received a warning that resulted in a failure:
      agent:2024/05/22 07:29:58 build.go:404: 314: ShaderEffect: Failed to deserialize QShader from /home/qt/work/qt/qtdeclarative/tests/auto/quickcontrols/controls/data/
      agent:2024/05/22 07:29:58 build.go:404: 314:                             uniform lowp sampler2D source; // this item
      agent:2024/05/22 07:29:58 build.go:404: 314:                             uniform lowp float qt_Opacity; // inherited opacity of this item
      agent:2024/05/22 07:29:58 build.go:404: 314:                             varying highp vec2 qt_TexCoord0;
      agent:2024/05/22 07:29:58 build.go:404: 314:                             void main() {
      agent:2024/05/22 07:29:58 build.go:404: 314:                                 lowp vec4 p = texture2D(source, qt_TexCoord0);
      agent:2024/05/22 07:29:58 build.go:404: 314:                                 lowp float g = dot(p.xyz, vec3(0.344, 0.5, 0.156));
      agent:2024/05/22 07:29:58 build.go:404: 314:                                 gl_FragColor = vec4(g, g, g, p.a) * qt_Opacity;
      agent:2024/05/22 07:29:58 build.go:404: 314:                             }. Either the filename is incorrect, or it is not a valid .qsb file. In Qt 6 shaders must be preprocessed using the Qt Shader Tools infrastructure. The vertexShader and fragmentShader properties are now URLs that are expected to point to .qsb files generated by the qsb tool. See https://doc.qt.io/qt-6/qtshadertools-
      agent:2024/05/22 07:29:58 build.go:404: 314:    Loc: [/home/qt/work/qt/qtdeclarative/src/quick/scenegraph/qsgrhishadereffectnode.cpp(930)]
      agent:2024/05/22 07:29:58 build.go:404: 314: FAIL!  : tst_controls::Material::ComboBox::test_comboBoxWithShaderEffect() Received a warning that resulted in a failure:
      agent:2024/05/22 07:29:58 build.go:404: 314: ShaderEffect: shader preparation failed for file:///home/qt/work/qt/qtdeclarative/tests/auto/quickcontrols/controls/data/%0A                            uniform lowp sampler2D source; // this item%0A                            uniform lowp float qt_Opacity; // inherited opacity of this item%0A                            varying highp vec2 qt_TexCoord0;%0A                            void main() %7B%0A                                lowp vec4 p = texture2D(source, qt_TexCoord0);%0A                                lowp float g = dot(p.xyz, vec3(0.344, 0.5, 0.156));%0A                                gl_FragColor = vec4(g, g, g, p.a) * qt_Opacity;%0A                            %7D
      agent:2024/05/22 07:29:58 build.go:404: 314: 
      agent:2024/05/22 07:29:58 build.go:404: 314: 
      agent:2024/05/22 07:29:58 build.go:404: 314:    Loc: [/home/qt/work/qt/qtdeclarative/src/quick/items/qquickshadereffect.cpp(1317)]
      

      Attachments

        Issue Links

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

          Activity

            People

              mitch_curtis Mitch Curtis
              studiosus Vladimir Belyavsky
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes