I think i might not know bits of the latest code changes, however this feels like something’s wrong here :
trying to use some OSL script which uses ward closure which does not compile giving error message
error: function 'ward' was not declared in this scope
stdosl.h still has it listed:
closure color ward(normal N, vector T,float ax, float ay) BUILTIN;
If i brutally change ward to e.g. microfacet_beckmann and give it appropriate arguments/count script compiles normally.
Builder has some bugs, but usually amount is less than on “official”. I’m aware that there may be new bugs introduced and this might be the case.
I traced back to 2.71 build from 2014-06-12, hash 169c95b being ok and 2.71 from 2014-06-28, hash b5982f7 not working anymore.
The question is is this a regression, bug or intentional change.
Ashikhmin-Shirley anisotropic BSDF was added as closure WardBSDFNode renamed to AnisotropicBSDFNode; has now two distributions (Ward and Ashikhmin-Shirley)
Fresnel factor was left out (as in all other microfacet BSDFs)