D7770: [lookandfeel] Fix GLES incompatibilities in UserDelegate shader code

Stefan BrĂ¼ns noreply at phabricator.kde.org
Mon Sep 11 16:50:42 UTC 2017


bruns created this revision.
bruns added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.

REVISION SUMMARY
  BUG: 382668
  
  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

REPOSITORY
  R120 Plasma Workspace

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D7770

AFFECTED FILES
  lookandfeel/contents/components/UserDelegate.qml

To: bruns, #plasma
Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170911/f2d169b1/attachment.html>


More information about the Plasma-devel mailing list