The fragment shader in: https://cgit.kde.org/plasma-workspace.git/tree/lookandfeel/contents/components/UserDelegate.qml#n102 omits the precision specifiers required for GLSL/ES compatibility, see: http://doc.qt.io/qt-5/qglshaderprogram.html#writing-portable-shaders Running e.g. sddm-greeter on a GL/ES 2.0 plattform results in the following error message: Jul 15 09:11:11 susetest sddm-greeter[6178]: QOpenGLShader::compile(Fragment): 0:6(2): error: No precision specified in this scope for type `vec4' 0:7(2): error: No precision specified in this scope for type `float' ... First one refers to "uniform vec4 colorBorder;", next to "float blend = 0.01;". The vec4 {colorBorder, colorEmpty, colorSource} should be "lowp" (sufficient for color representation), all other (used for coordinate calculations) should be "highp".
Git commit 129884c7b02f7123fef48028cf29ac0c3d0c5589 by Stefan Brüns. Committed on 26/09/2017 at 21:16. Pushed by bruns into branch 'master'. [lookandfeel] Fix GLES incompatibilities in UserDelegate shader code Summary: The shader compilation currently fails on GLES with errors like: "0:6(2): error: No precision specified in this scope for type `vec4'" GLES requires variable qualifiers like highp/lowp, whereas desktop OpenGL does not. As QGlShaderProgram adds suitable defines on desktop OpenGL for these qualifiers, it is safe to add these to a declarations, see: http://doc.qt.io/qt-5/qglshaderprogram.html#writing-portable-shaders Reviewers: #plasma, davidedmundson Reviewed By: #plasma, davidedmundson Subscribers: plasma-devel Tags: #plasma Maniphest Tasks: T7071 Differential Revision: https://phabricator.kde.org/D7770 M +8 -8 lookandfeel/contents/components/UserDelegate.qml https://commits.kde.org/plasma-workspace/129884c7b02f7123fef48028cf29ac0c3d0c5589