Skip to content

Commit

Permalink
Use highp in all GLSL shaders
Browse files Browse the repository at this point in the history
  • Loading branch information
sockmaster27 committed Jan 5, 2025
1 parent 7de5864 commit 1a7e501
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion packages/logo/src/routes/shader.frag
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#version 300 es

precision mediump float;
precision highp float;
out vec4 fragColor;

uniform vec2 u_resolution;
Expand Down
2 changes: 1 addition & 1 deletion packages/svader/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ The following is a minimal example of a WebGL fragment shader component.
const shaderCode = `#version 300 es
precision mediump float;
precision highp float;
out vec4 fragColor;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#version 300 es

precision mediump float;
precision highp float;
out vec4 fragColor;

uniform vec2 u_resolution;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#version 300 es

precision mediump float;
precision highp float;
out vec4 fragColor;

uniform vec2 u_resolution;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#version 300 es

precision mediump float;
precision highp float;
out vec4 fragColor;

uniform vec2 u_resolution;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#version 300 es

precision mediump float;
precision highp float;
out vec4 fragColor;

uniform vec2 u_resolution;
Expand Down
2 changes: 1 addition & 1 deletion packages/tests-svelte4/src/routes/slider/webgl/shader.frag
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#version 300 es

precision mediump float;
precision highp float;
out vec4 fragColor;

uniform vec2 u_resolution;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#version 300 es

precision mediump float;
precision highp float;
out vec4 fragColor;

uniform vec2 u_resolution;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#version 300 es

precision mediump float;
precision highp float;
out vec4 fragColor;

uniform vec2 u_resolution;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#version 300 es

precision mediump float;
precision highp float;
out vec4 fragColor;

uniform vec2 u_resolution;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#version 300 es

precision mediump float;
precision highp float;
out vec4 fragColor;

uniform vec2 u_resolution;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#version 300 es

precision mediump float;
precision highp float;
out vec4 fragColor;

uniform vec2 u_resolution;
Expand Down
2 changes: 1 addition & 1 deletion packages/tests-svelte5/src/routes/slider/webgl/shader.frag
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#version 300 es

precision mediump float;
precision highp float;
out vec4 fragColor;

uniform vec2 u_resolution;
Expand Down

0 comments on commit 1a7e501

Please sign in to comment.