Fix: added missing default precision directives in fragment shaders #215

Merged
theridane merged 1 commits from master into master 2015-01-28 10:46:22 +01:00
3 changed files with 7 additions and 0 deletions

View File

@ -312,6 +312,7 @@ Item{
blending: false
fragmentShader:
"precision highp float;" +
"uniform lowp float qt_Opacity;" +
"uniform lowp sampler2D txt_source;" +

View File

@ -151,6 +151,8 @@ ShaderEffect {
}"
fragmentShader: "
precision highp float;
uniform sampler2D source;
uniform highp float qt_Opacity;
uniform highp float time;

View File

@ -120,6 +120,8 @@ Item{
blending: true
fragmentShader: "
precision highp float;
uniform highp sampler2D normals;
uniform highp sampler2D source;
uniform lowp float screenCurvature;
@ -181,6 +183,8 @@ Item{
blending: true
fragmentShader: "
precision highp float;
uniform sampler2D lightMask;
uniform sampler2D reflectionSource;
uniform lowp float diffuseComponent;