Putting static initialization into functions works just as well, but ensures the OIIO::TypeDesc access is delayed until initialization is complete.
* Added the Phong BRDF from the inbuilt OSL shader library. This can be used in OSL shaders only for now: * phong(normal N, float exponent) * phong_ramp(normal N, float exponent, color colors[8]