[client] egl: add linear downscale filter shader

This commit is contained in:
Quantum 2021-08-13 20:42:35 -04:00 committed by Geoffrey McRae
parent 94de061587
commit 2c02e6c4a0
2 changed files with 13 additions and 0 deletions

View File

@ -65,6 +65,7 @@ build_shaders(
shader/ffx_fsr1_rcas.frag shader/ffx_fsr1_rcas.frag
shader/downscale.frag shader/downscale.frag
shader/downscale_lanczos2.frag shader/downscale_lanczos2.frag
shader/downscale_linear.frag
) )
make_defines( make_defines(

View File

@ -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);
}