mirror of
https://github.com/libretro/glsl-shaders.git
synced 2026-11-07 10:36:01 -10:00
The clamp added in 7bf5101 assigned a vec4 texture read to a vec3, which
strict compilers such as Mesa's reject, and tested gl_FragCoord, which is
in pixels, against 0..1, which blacked out all but the first pixel.
Read .rgb and test the texture coordinate as a fraction of the picture.