mirror of
https://github.com/libretro/glsl-shaders.git
synced 2026-11-07 10:36:01 -10:00
GLES rejected every pass. The sources define "const" away, so their global "static const" values become globals initialised from other globals, which ESSL doesn't allow, and they lean on desktop GLSL's implicit int to float conversions and default float precision. Turn the affected globals into typed macros, convert the ints explicitly, and give the passes a default precision on GLES only. Desktop GL compiles the same as before.