Browse Source

remove highp

lizzie/sgsr
lizzie 5 days ago
parent
commit
1b41f5ac33
  1. 34
      .patch/sgsr/0002-remove-highp.patch
  2. 3
      cpmfile.json

34
.patch/sgsr/0002-remove-highp.patch

@ -0,0 +1,34 @@
diff --git a/sgsr/v1/include/glsl/sgsr1_shader_mobile.frag b/sgsr/v1/include/glsl/sgsr1_shader_mobile.frag
index 2db04b3..056d177 100644
--- a/sgsr/v1/include/glsl/sgsr1_shader_mobile.frag
+++ b/sgsr/v1/include/glsl/sgsr1_shader_mobile.frag
@@ -8,8 +8,10 @@
//
//============================================================================================================
-precision mediump float;
-precision highp int;
+//precision mediump float;
+//precision highp int;
+#define highp
+#define mediump
////////////////////////
// USER CONFIGURATION //
diff --git a/sgsr/v1/include/glsl/sgsr1_shader_mobile_edge_direction.frag b/sgsr/v1/include/glsl/sgsr1_shader_mobile_edge_direction.frag
index 5a38589..5ed5f5e 100644
--- a/sgsr/v1/include/glsl/sgsr1_shader_mobile_edge_direction.frag
+++ b/sgsr/v1/include/glsl/sgsr1_shader_mobile_edge_direction.frag
@@ -8,8 +8,10 @@
//
//============================================================================================================
-precision mediump float;
-precision highp int;
+//precision mediump float;
+//precision highp int;
+#define highp
+#define mediump
////////////////////////
// USER CONFIGURATION //

3
cpmfile.json

@ -107,7 +107,8 @@
"hash": "3940df715189813ffeffa540f48673e999754d53a1dcadc16aab846ef03d57e395e2c8d8e89772bc162835e1686ff6bdb8cae108c1f84404e9e66d993107b76e",
"sha": "d926f074bcb9d714e179f1ce0fcb9ee2eeb5074e",
"patches": [
"0001-fix-glsl.patch"
"0001-fix-glsl.patch",
"0002-remove-highp.patch"
]
},
"quazip": {

Loading…
Cancel
Save