[SailfishDevel] ShaderEffect QML element

Luca Donaggio donaggio at gmail.com
Thu Apr 10 10:05:22 UTC 2014


Hi,

Is ShaderEffect QML element supposed to work on device (I'm on 1.0.4.20)?

I'm always getting this error (content of log property):

 QOpenGLShader::compile(Fragment): failed

*** Problematic Fragment shader source code ***

[W] QOpenGLShaderPrivate::compile:326 - #ifndef GL_FRAGMENT_PRECISION_HIGH

#define highp mediump

#endif


[... my shader code ...]


 ***

QQuickCustomMaterialShader: Shader compilation failed:

[W] QQuickCustomMaterialShader::compile:285 - "failed"

*** Fragment shader ***

failed



It works just fine on emulator though.

Are there some (known) differencies from the GLSL code "understood" by the
emulator and a real device?

Thanks,

-- 
Luca Donaggio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20140410/887ff2a9/attachment.html>


More information about the Devel mailing list