diff --git a/resources/shaders/gl3/blit.fs.glsl b/resources/shaders/gl3/blit.fs.glsl index 0efcd294bd..4d8cb41e9a 100644 --- a/resources/shaders/gl3/blit.fs.glsl +++ b/resources/shaders/gl3/blit.fs.glsl @@ -13,6 +13,7 @@ precision highp float; +precision highp sampler2D; uniform sampler2D uSrc; diff --git a/resources/shaders/gl3/blit.vs.glsl b/resources/shaders/gl3/blit.vs.glsl index 7af88564ac..aefef25117 100644 --- a/resources/shaders/gl3/blit.vs.glsl +++ b/resources/shaders/gl3/blit.vs.glsl @@ -13,6 +13,7 @@ precision highp float; +precision highp sampler2D; in ivec2 aPosition; diff --git a/resources/shaders/gl3/debug_solid.fs.glsl b/resources/shaders/gl3/debug_solid.fs.glsl index 06550da61d..056122ed83 100644 --- a/resources/shaders/gl3/debug_solid.fs.glsl +++ b/resources/shaders/gl3/debug_solid.fs.glsl @@ -13,6 +13,7 @@ precision highp float; +precision highp sampler2D; uniform vec4 uColor; diff --git a/resources/shaders/gl3/debug_solid.vs.glsl b/resources/shaders/gl3/debug_solid.vs.glsl index a5ac2df847..68f4ec9237 100644 --- a/resources/shaders/gl3/debug_solid.vs.glsl +++ b/resources/shaders/gl3/debug_solid.vs.glsl @@ -13,6 +13,7 @@ precision highp float; +precision highp sampler2D; uniform vec2 uFramebufferSize; diff --git a/resources/shaders/gl3/debug_texture.fs.glsl b/resources/shaders/gl3/debug_texture.fs.glsl index 5670374bcb..4dda9b43d2 100644 --- a/resources/shaders/gl3/debug_texture.fs.glsl +++ b/resources/shaders/gl3/debug_texture.fs.glsl @@ -13,6 +13,7 @@ precision highp float; +precision highp sampler2D; uniform sampler2D uTexture; uniform vec4 uColor; diff --git a/resources/shaders/gl3/debug_texture.vs.glsl b/resources/shaders/gl3/debug_texture.vs.glsl index d037b869b2..4dc58ff47c 100644 --- a/resources/shaders/gl3/debug_texture.vs.glsl +++ b/resources/shaders/gl3/debug_texture.vs.glsl @@ -13,6 +13,7 @@ precision highp float; +precision highp sampler2D; uniform vec2 uFramebufferSize; uniform vec2 uTextureSize; diff --git a/resources/shaders/gl3/demo_ground.fs.glsl b/resources/shaders/gl3/demo_ground.fs.glsl index 49dd50dcef..810a88a0f4 100644 --- a/resources/shaders/gl3/demo_ground.fs.glsl +++ b/resources/shaders/gl3/demo_ground.fs.glsl @@ -13,6 +13,7 @@ precision highp float; +precision highp sampler2D; uniform vec4 uGroundColor; uniform vec4 uGridlineColor; diff --git a/resources/shaders/gl3/demo_ground.vs.glsl b/resources/shaders/gl3/demo_ground.vs.glsl index 4f21641693..f329f339c8 100644 --- a/resources/shaders/gl3/demo_ground.vs.glsl +++ b/resources/shaders/gl3/demo_ground.vs.glsl @@ -13,6 +13,7 @@ precision highp float; +precision highp sampler2D; uniform mat4 uTransform; uniform int uGridlineCount; diff --git a/resources/shaders/gl3/fill.fs.glsl b/resources/shaders/gl3/fill.fs.glsl index d70a93bdd7..79822d1954 100644 --- a/resources/shaders/gl3/fill.fs.glsl +++ b/resources/shaders/gl3/fill.fs.glsl @@ -13,6 +13,7 @@ precision highp float; +precision highp sampler2D; uniform sampler2D uAreaLUT; diff --git a/resources/shaders/gl3/fill.vs.glsl b/resources/shaders/gl3/fill.vs.glsl index 83314eb1c1..069704245a 100644 --- a/resources/shaders/gl3/fill.vs.glsl +++ b/resources/shaders/gl3/fill.vs.glsl @@ -13,6 +13,7 @@ precision highp float; +precision highp sampler2D; uniform vec2 uFramebufferSize; uniform vec2 uTileSize; diff --git a/resources/shaders/gl3/reproject.fs.glsl b/resources/shaders/gl3/reproject.fs.glsl index f1344a2e15..67556c4000 100644 --- a/resources/shaders/gl3/reproject.fs.glsl +++ b/resources/shaders/gl3/reproject.fs.glsl @@ -13,6 +13,7 @@ precision highp float; +precision highp sampler2D; uniform mat4 uOldTransform; uniform sampler2D uTexture; diff --git a/resources/shaders/gl3/reproject.vs.glsl b/resources/shaders/gl3/reproject.vs.glsl index f32005f2e0..60317f1e0a 100644 --- a/resources/shaders/gl3/reproject.vs.glsl +++ b/resources/shaders/gl3/reproject.vs.glsl @@ -13,6 +13,7 @@ precision highp float; +precision highp sampler2D; uniform mat4 uNewTransform; diff --git a/resources/shaders/gl3/stencil.fs.glsl b/resources/shaders/gl3/stencil.fs.glsl index b37ee045b6..c18450e269 100644 --- a/resources/shaders/gl3/stencil.fs.glsl +++ b/resources/shaders/gl3/stencil.fs.glsl @@ -13,6 +13,7 @@ precision highp float; +precision highp sampler2D; out vec4 oFragColor; diff --git a/resources/shaders/gl3/stencil.vs.glsl b/resources/shaders/gl3/stencil.vs.glsl index 0f44276e92..6501b942ec 100644 --- a/resources/shaders/gl3/stencil.vs.glsl +++ b/resources/shaders/gl3/stencil.vs.glsl @@ -13,6 +13,7 @@ precision highp float; +precision highp sampler2D; in vec3 aPosition; diff --git a/resources/shaders/gl3/tile.fs.glsl b/resources/shaders/gl3/tile.fs.glsl index a27e0eaae8..534a27dd6d 100644 --- a/resources/shaders/gl3/tile.fs.glsl +++ b/resources/shaders/gl3/tile.fs.glsl @@ -36,6 +36,7 @@ #extension GL_GOOGLE_include_directive : enable precision highp float; +precision highp sampler2D; diff --git a/resources/shaders/gl3/tile.vs.glsl b/resources/shaders/gl3/tile.vs.glsl index e49ee79c9f..4f39bcaa33 100644 --- a/resources/shaders/gl3/tile.vs.glsl +++ b/resources/shaders/gl3/tile.vs.glsl @@ -13,6 +13,7 @@ precision highp float; +precision highp sampler2D; uniform mat4 uTransform; uniform vec2 uTileSize; diff --git a/resources/shaders/gl3/tile_copy.fs.glsl b/resources/shaders/gl3/tile_copy.fs.glsl index 4d5e249553..0a43eeb83e 100644 --- a/resources/shaders/gl3/tile_copy.fs.glsl +++ b/resources/shaders/gl3/tile_copy.fs.glsl @@ -13,6 +13,7 @@ precision highp float; +precision highp sampler2D; uniform vec2 uFramebufferSize; uniform sampler2D uSrc; diff --git a/resources/shaders/gl3/tile_copy.vs.glsl b/resources/shaders/gl3/tile_copy.vs.glsl index dd0be49e59..b1c24b08e9 100644 --- a/resources/shaders/gl3/tile_copy.vs.glsl +++ b/resources/shaders/gl3/tile_copy.vs.glsl @@ -13,6 +13,7 @@ precision highp float; +precision highp sampler2D; uniform mat4 uTransform; uniform vec2 uTileSize; diff --git a/shaders/blit.fs.glsl b/shaders/blit.fs.glsl index 41cf366c8d..630208923f 100644 --- a/shaders/blit.fs.glsl +++ b/shaders/blit.fs.glsl @@ -11,6 +11,7 @@ // except according to those terms. precision highp float; +precision highp sampler2D; uniform sampler2D uSrc; diff --git a/shaders/blit.vs.glsl b/shaders/blit.vs.glsl index 249ac1f508..353c753725 100644 --- a/shaders/blit.vs.glsl +++ b/shaders/blit.vs.glsl @@ -11,6 +11,7 @@ // except according to those terms. precision highp float; +precision highp sampler2D; in ivec2 aPosition; diff --git a/shaders/debug_solid.fs.glsl b/shaders/debug_solid.fs.glsl index e8c0951567..5c759f1eed 100644 --- a/shaders/debug_solid.fs.glsl +++ b/shaders/debug_solid.fs.glsl @@ -11,6 +11,7 @@ // except according to those terms. precision highp float; +precision highp sampler2D; uniform vec4 uColor; diff --git a/shaders/debug_solid.vs.glsl b/shaders/debug_solid.vs.glsl index 8dd2f38395..3bf0442e52 100644 --- a/shaders/debug_solid.vs.glsl +++ b/shaders/debug_solid.vs.glsl @@ -11,6 +11,7 @@ // except according to those terms. precision highp float; +precision highp sampler2D; uniform vec2 uFramebufferSize; diff --git a/shaders/debug_texture.fs.glsl b/shaders/debug_texture.fs.glsl index b157011faf..92819f8a43 100644 --- a/shaders/debug_texture.fs.glsl +++ b/shaders/debug_texture.fs.glsl @@ -11,6 +11,7 @@ // except according to those terms. precision highp float; +precision highp sampler2D; uniform sampler2D uTexture; uniform vec4 uColor; diff --git a/shaders/debug_texture.vs.glsl b/shaders/debug_texture.vs.glsl index 7df2a288a6..4a9df8833e 100644 --- a/shaders/debug_texture.vs.glsl +++ b/shaders/debug_texture.vs.glsl @@ -11,6 +11,7 @@ // except according to those terms. precision highp float; +precision highp sampler2D; uniform vec2 uFramebufferSize; uniform vec2 uTextureSize; diff --git a/shaders/demo_ground.fs.glsl b/shaders/demo_ground.fs.glsl index 983511d5f9..8eff97007a 100644 --- a/shaders/demo_ground.fs.glsl +++ b/shaders/demo_ground.fs.glsl @@ -11,6 +11,7 @@ // except according to those terms. precision highp float; +precision highp sampler2D; uniform vec4 uGroundColor; uniform vec4 uGridlineColor; diff --git a/shaders/demo_ground.vs.glsl b/shaders/demo_ground.vs.glsl index e2a618b60f..39b26bf337 100644 --- a/shaders/demo_ground.vs.glsl +++ b/shaders/demo_ground.vs.glsl @@ -11,6 +11,7 @@ // except according to those terms. precision highp float; +precision highp sampler2D; uniform mat4 uTransform; uniform int uGridlineCount; diff --git a/shaders/fill.fs.glsl b/shaders/fill.fs.glsl index 2587251500..89dae08809 100644 --- a/shaders/fill.fs.glsl +++ b/shaders/fill.fs.glsl @@ -11,6 +11,7 @@ // except according to those terms. precision highp float; +precision highp sampler2D; uniform sampler2D uAreaLUT; diff --git a/shaders/fill.vs.glsl b/shaders/fill.vs.glsl index 7b75578ba6..d82e8688d9 100644 --- a/shaders/fill.vs.glsl +++ b/shaders/fill.vs.glsl @@ -11,6 +11,7 @@ // except according to those terms. precision highp float; +precision highp sampler2D; uniform vec2 uFramebufferSize; uniform vec2 uTileSize; diff --git a/shaders/reproject.fs.glsl b/shaders/reproject.fs.glsl index 6b4996645e..d03661baff 100644 --- a/shaders/reproject.fs.glsl +++ b/shaders/reproject.fs.glsl @@ -11,6 +11,7 @@ // except according to those terms. precision highp float; +precision highp sampler2D; uniform mat4 uOldTransform; uniform sampler2D uTexture; diff --git a/shaders/reproject.vs.glsl b/shaders/reproject.vs.glsl index f10433b101..80fc3012e0 100644 --- a/shaders/reproject.vs.glsl +++ b/shaders/reproject.vs.glsl @@ -11,6 +11,7 @@ // except according to those terms. precision highp float; +precision highp sampler2D; uniform mat4 uNewTransform; diff --git a/shaders/stencil.fs.glsl b/shaders/stencil.fs.glsl index 67a839182f..194b83b409 100644 --- a/shaders/stencil.fs.glsl +++ b/shaders/stencil.fs.glsl @@ -11,6 +11,7 @@ // except according to those terms. precision highp float; +precision highp sampler2D; out vec4 oFragColor; diff --git a/shaders/stencil.vs.glsl b/shaders/stencil.vs.glsl index 77346aa924..1d8a077e21 100644 --- a/shaders/stencil.vs.glsl +++ b/shaders/stencil.vs.glsl @@ -11,6 +11,7 @@ // except according to those terms. precision highp float; +precision highp sampler2D; in vec3 aPosition; diff --git a/shaders/tile.fs.glsl b/shaders/tile.fs.glsl index cac7f4f264..f40a48387d 100644 --- a/shaders/tile.fs.glsl +++ b/shaders/tile.fs.glsl @@ -34,6 +34,7 @@ #extension GL_GOOGLE_include_directive : enable precision highp float; +precision highp sampler2D; #define EPSILON 0.00001 diff --git a/shaders/tile.vs.glsl b/shaders/tile.vs.glsl index 7d2419b76d..44fc464c2e 100644 --- a/shaders/tile.vs.glsl +++ b/shaders/tile.vs.glsl @@ -11,6 +11,7 @@ // except according to those terms. precision highp float; +precision highp sampler2D; uniform mat4 uTransform; uniform vec2 uTileSize; diff --git a/shaders/tile_copy.fs.glsl b/shaders/tile_copy.fs.glsl index 5d69ce32db..1103d069d8 100644 --- a/shaders/tile_copy.fs.glsl +++ b/shaders/tile_copy.fs.glsl @@ -11,6 +11,7 @@ // except according to those terms. precision highp float; +precision highp sampler2D; uniform vec2 uFramebufferSize; uniform sampler2D uSrc; diff --git a/shaders/tile_copy.vs.glsl b/shaders/tile_copy.vs.glsl index f5b5487df3..d281e8648d 100644 --- a/shaders/tile_copy.vs.glsl +++ b/shaders/tile_copy.vs.glsl @@ -11,6 +11,7 @@ // except according to those terms. precision highp float; +precision highp sampler2D; uniform mat4 uTransform; uniform vec2 uTileSize;