[client] egl: add linear downscale filter shader

This commit is contained in:
Quantum authored and Geoffrey McRae committed 2021-08-14 12:19:50 +10:00
1 parent 94de061587
commit 2c02e6c4a0
2 files changed
+13

No files matched your search

+1
View File
@@ -65,6 +65,7 @@ build_shaders(
shader/ffx_fsr1_rcas.frag
shader/downscale.frag
shader/downscale_lanczos2.frag
shader/downscale_linear.frag
)
make_defines(
@@ -0,0 +1,12 @@
#version 300 es
precision mediump float;
in vec2 fragCoord;
out vec4 fragColor;
uniform sampler2D texture;
void main()
{
fragColor = texture2D(texture, fragCoord);
}