Workaround: This particular function was turned into a #define macro.
OS: Mac
Vendors:Intel
Driver versions: Intel Iris 6100, Intel HD 5300, Intel HD 6000
??? - Mac glsl compiler bug realted to logical operators in #if blocks.
Description: Found the diff but not the detailed issue. Most likely a shader compiler error with logical opertors in #if conditions like #if FOO == 1 && BAR == 1.