[client] egl: remove needless precision quantifiers

We simply use precision mediump float; for everything. We don't actually
need highp anyways, and we don't use it for stuff like CAS or FSR.
This commit is contained in:
Quantum
2021-08-11 06:41:56 -04:00
committed by Geoffrey McRae
parent 06da52acfc
commit 543c97987b
10 changed files with 35 additions and 27 deletions

View File

@@ -1,13 +1,14 @@
#version 300 es
precision mediump float;
in highp vec2 uv;
out highp vec4 color;
in vec2 uv;
out vec4 color;
uniform sampler2D sampler1;
void main()
{
highp vec4 tmp = texture(sampler1, uv);
vec4 tmp = texture(sampler1, uv);
if (tmp.rgb == vec3(0.0, 0.0, 0.0))
discard;
color = tmp;