diff --git a/resources/shaders/gl3/blit.fs.glsl b/resources/shaders/gl3/blit.fs.glsl index 0efcd294..4d8cb41e 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 7af88564..aefef251 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 06550da6..056122ed 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 a5ac2df8..68f4ec92 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 5670374b..4dda9b43 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 d037b869..4dc58ff4 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 49dd50dc..810a88a0 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 4f216416..f329f339 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 d70a93bd..79822d19 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 83314eb1..06970424 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 f1344a2e..67556c40 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 f32005f2..60317f1e 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 b37ee045..c18450e2 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 0f44276e..6501b942 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 a27e0eaa..534a27dd 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 e49ee79c..4f39bcaa 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 4d5e2495..0a43eeb8 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 dd0be49e..b1c24b08 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 41cf366c..63020892 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 249ac1f5..353c7537 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 e8c09515..5c759f1e 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 8dd2f383..3bf0442e 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 b157011f..92819f8a 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 7df2a288..4a9df883 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 983511d5..8eff9700 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 e2a618b6..39b26bf3 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 25872515..89dae088 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 7b75578b..d82e8688 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 6b499664..d03661ba 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 f10433b1..80fc3012 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 67a83918..194b83b4 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 77346aa9..1d8a077e 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 cac7f4f2..f40a4838 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 7d2419b7..44fc464c 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 5d69ce32..1103d069 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 f5b5487d..d281e864 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;