summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJanne Koskinen <janne.p.koskinen@qt.io>2019-06-05 14:49:00 +0300
committerJanne Koskinen <janne.p.koskinen@qt.io>2019-06-05 14:49:00 +0300
commit0063eddad307a2caac534651d3c6239c26bb438c (patch)
tree3e897587dcfcd1d6f0c9a0a61ba2c18f758aecf7
parentbd083f50691e35ac0ab572ebc92fe15dae2f2989 (diff)
Fix dropshadow shader compilationv2.4.0-beta3v2.4.02.4
Removed extra highp qualifiers Change-Id: I91359d6cad274c4b2fbdb8bc3ffd4f06017e89cc Reviewed-by: Jere Tuliniemi <jere.tuliniemi@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
-rw-r--r--src/runtime/shaders/distancefieldtext_dropshadow.vert4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/shaders/distancefieldtext_dropshadow.vert b/src/runtime/shaders/distancefieldtext_dropshadow.vert
index b176cc7..afcd582 100644
--- a/src/runtime/shaders/distancefieldtext_dropshadow.vert
+++ b/src/runtime/shaders/distancefieldtext_dropshadow.vert
@@ -74,11 +74,11 @@ void main()
alphas = alphaRange(scale);
#endif
- highp vec2 textureSizeMultiplier = vec2(1.0 / highp float(textureWidth), 1.0 / float(textureHeight));
+ highp vec2 textureSizeMultiplier = vec2(1.0 / float(textureWidth), 1.0 / float(textureHeight));
sampleCoord = tCoord * textureSizeMultiplier;
shadowSampleCoord = (tCoord - shadowOffset) * textureSizeMultiplier;
- normalizedTextureBounds = highp vec4(textureBounds.xy * textureSizeMultiplier,
+ normalizedTextureBounds = vec4(textureBounds.xy * textureSizeMultiplier,
textureBounds.zw * textureSizeMultiplier);
gl_Position = mvp * vCoord;