Fix: added missing default precision directives in fragment shaders

This commit is contained in:
Martin Sekera
2015-01-27 23:48:05 +01:00
parent edad3ab28c
commit f1a6c0fcee
3 changed files with 7 additions and 0 deletions

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;