Follow-up to #2100
Also refactors polyfill mechanism in GLSL and fixes transpose() lowering precision.