This GLSL function was only added in 1.40, and thus should never be exposed in lower versions.
Good catch, thanks! I apparently screwed this up in 722eff674b832e2321f791c68358ef52d2a1ff25. I just mailed out a patch: http://patchwork.freedesktop.org/patch/68444/
Fixed in master by: commit 4a5cff24d77df6070656b501514d8c304fdbabdf Author: Kenneth Graunke <kenneth@whitecape.org> Date: Wed Dec 16 00:56:39 2015 -0800 glsl: Remove inverse() from GLSL 1.20 and 1.30. I apparently regressed this when rewriting the built-ins using ir_builder, in 76d2f73643f. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93387 Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Matt Turner <mattst88@gmail.com>
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.