yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
d5b5215a
main
1#version 310 es 2 3precision mediump float ; 4 5void fooConst( const in float f, const in highp float g) { } 6 7void foo( in float f, in highp float g) { } 8 9float retM ( float x) { return x; } 10highp float retH ( highp float x) { return x; } 11float retHM( highp float x) { return x; } 12highp float retMH( float x) { return x; } 13 14void main() 15{ 16float aM, bM; 17highp float aH, bH; 18fooConst(aM, bM); // must copy bM 19fooConst(aH, bH); // must copy aH 20foo(aM, bM); 21foo(aH, bH); 22 23retM(aM); 24retH(aH); 25retHM(aH); 26retMH(aM ); 27}