Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.8.0 FF
-
None
-
03c1374e9 (dev), 55c9ea1c1 (6.7), 53200bf0d (tqtc/lts-6.5), cde11110f (dev), f44bf64ba (6.8), 413f8d460 (6.7), 02fc81c79 (tqtc/lts-6.5)
Description
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
- is required for
-
QTBUG-98718 Make qtdeclarative tests fail on warnings
- Open
For Gerrit Dashboard: QTBUG-125580 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
562947,3 | Fix ShaderEffect warning in tst_combobox.qml | dev | qt/qtdeclarative | Status: MERGED | +2 | +1 |
563118,2 | Fix ShaderEffect warning in tst_combobox.qml | 6.7 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
563402,2 | Fix ShaderEffect warning in tst_combobox.qml | tqtc/lts-6.5 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |
582449,6 | Fix shader warnings in ComboBox::test_comboBoxWithShaderEffect | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
582905,2 | Fix shader warnings in ComboBox::test_comboBoxWithShaderEffect | 6.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
582987,3 | Fix shader warnings in ComboBox::test_comboBoxWithShaderEffect | 6.7 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
590274,3 | Fix shader warnings in ComboBox::test_comboBoxWithShaderEffect | tqtc/lts-6.5 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | +1 |