translate Legacy Glsl To Gles3
Rewrites GLSL ES 1.00 syntax in-place so it compiles under #version 300 es — run by Android / iOS shaderSource when a program opts into Kgl.glslVersion3. Same mapping as JoglKgl.translateLegacyGlsl / JsWebKgl.translateLegacyGlsl — keep them in sync; idempotent for already-modern sources. Fragments get a precision mediump default injected (ES 3.00 has none); a shader's own later precision block still overrides it.