mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 23:55:38 +00:00
Changed the OpenGL ES GLSL precision qualifiers from mediump to highp to fix some mobile GPU postprocessing rendering issues
This commit is contained in:
parent
0c3f6f509b
commit
1d1732306e
|
@ -24,7 +24,7 @@ void main()
|
||||||
#elif defined(FRAGMENT)
|
#elif defined(FRAGMENT)
|
||||||
|
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
precision mediump float;
|
precision highp float;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
uniform uint shaderFlags;
|
uniform uint shaderFlags;
|
||||||
|
|
|
@ -24,7 +24,7 @@ void main()
|
||||||
#elif defined(FRAGMENT)
|
#elif defined(FRAGMENT)
|
||||||
|
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
precision mediump float;
|
precision highp float;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
uniform uint shaderFlags;
|
uniform uint shaderFlags;
|
||||||
|
|
|
@ -30,7 +30,7 @@ void main(void)
|
||||||
#elif defined(FRAGMENT)
|
#elif defined(FRAGMENT)
|
||||||
|
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
precision mediump float;
|
precision highp float;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
in vec2 position;
|
in vec2 position;
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
#if defined(VERTEX)
|
#if defined(VERTEX)
|
||||||
|
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
precision mediump float;
|
precision highp float;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
uniform mat4 MVPMatrix;
|
uniform mat4 MVPMatrix;
|
||||||
|
@ -53,7 +53,7 @@ void main()
|
||||||
#elif defined(FRAGMENT)
|
#elif defined(FRAGMENT)
|
||||||
|
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
precision mediump float;
|
precision highp float;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
uniform vec2 texSize;
|
uniform vec2 texSize;
|
||||||
|
|
Loading…
Reference in a new issue