Skip to content

Commit a6a8aa2

Browse files
committed
chore: consistently use highp float
1 parent da991f0 commit a6a8aa2

9 files changed

Lines changed: 9 additions & 9 deletions

src/shaders/gles2/blur_acrylic.frag

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
precision mediump float;
1+
precision highp float;
22
uniform sampler2D tex;
33
uniform vec4 tint;
44
uniform float tint_strength;

src/shaders/gles2/blur_box_h.frag

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include "color_helpers.glsl"
22

3-
precision mediump float;
3+
precision highp float;
44
uniform sampler2D tex;
55
uniform vec2 texel_size;
66
uniform float radius;

src/shaders/gles2/blur_box_v.frag

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include "color_helpers.glsl"
22

3-
precision mediump float;
3+
precision highp float;
44
uniform sampler2D tex;
55
uniform vec2 texel_size;
66
uniform float radius;

src/shaders/gles2/blur_gauss_h.frag

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include "color_helpers.glsl"
22

3-
precision mediump float;
3+
precision highp float;
44
uniform sampler2D tex;
55
uniform vec2 texel_size;
66
uniform float radius;

src/shaders/gles2/blur_gauss_v.frag

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include "color_helpers.glsl"
22

3-
precision mediump float;
3+
precision highp float;
44
uniform sampler2D tex;
55
uniform vec2 texel_size;
66
uniform float radius;

src/shaders/gles2/blur_kawase.frag

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include "color_helpers.glsl"
22

3-
precision mediump float;
3+
precision highp float;
44
uniform sampler2D tex;
55
uniform vec2 halfpixel;
66
uniform float offset;

src/shaders/gles2/blur_mica.frag

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
precision mediump float;
1+
precision highp float;
22
uniform sampler2D tex;
33
uniform vec4 tint;
44
uniform float tint_strength;

src/shaders/gles2/blur_refraction.frag

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
precision mediump float;
1+
precision highp float;
22
uniform sampler2D tex;
33
uniform float offset;
44
uniform vec2 halfpixel;

src/shaders/gles2/color_helpers.glsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Color space and brightness helper functions for shaders (based on shaders from Hyprland)
22

3-
precision mediump float;
3+
precision highp float;
44

55
// Perceived brightness weights (standard luminance coefficients)
66
// Source: http://alienryderflex.com/hsp.html

0 commit comments

Comments
 (0)