mirror of
https://github.com/horizon-rust/horizon.git
synced 2026-11-07 02:56:17 -10:00
GLSL asks a texel offset to be a constant expression; GL drivers also take one a function receives as a `const in ivec2` parameter (Arc's FXAA samples its neighbours that way, so its final pass was skipped in every dimension). Such an offset now moves the coordinate by that many texels of the base level; a constant one stays an offset.