Improve upscale filter quality on mobile

This commit is contained in:
elasota
2020-11-02 19:04:49 -05:00
parent c0f71ca1af
commit 2ab1416eef
5 changed files with 177 additions and 64 deletions

View File

@@ -1,4 +1,7 @@
#define GP_GL_SHADER_CODE_PRECISION_PREFIX "precision mediump float;\n"\
#define GP_GL_SHADER_CODE_MEDIUM_PRECISION_PREFIX "precision mediump float;\n"\
#define GP_GL_SHADER_CODE_HIGH_PRECISION_PREFIX "precision highp float;\n"\
#define GP_GL_SHADER_CODE_FUNCTIONS_H "vec3 pow3(vec3 v, float ex)\n"\
"{\n"\