Ternary ops (such as clamp(a,b,c)) could sometimes loose the derivatives in the result (trac#131)
Ternary ops (such as clamp(a,b,c)) could sometimes loose the derivatives in the result (trac#131)

git-svn-id: 93cebb81a0f5cc00f31a7ad40d16024532691b70@488 a3683778-fedd-11de-87c3-653bb6514e15

gzorin/OpenShadingLanguage,rlmh/OpenShadingLanguage,lgritz/OpenShadingLanguage,amartinez-cg/OpenShadingLanguage,rlmh/OpenShadingLanguage,aconty/OpenShadingLanguage,Anteru/OpenShadingLanguage,brechtvl/OpenShadingLanguage,aconty/OpenShadingLanguage,mcanthony/OpenShadingLanguage,juvenal/OpenShadingLanguage,lgritz/OpenShadingLanguage,svenstaro/OpenShadingLanguage,aconty/OpenShadingLanguage,aconty/OpenShadingLanguage,Anteru/OpenShadingLanguage,johnhaddon/OpenShadingLanguage,imageworks/OpenShadingLanguage,sjparker/OpenShadingLanguage,mcanthony/OpenShadingLanguage,sjparker/OpenShadingLanguage,gzorin/OpenShadingLanguage,juvenal/OpenShadingLanguage,juvenal/OpenShadingLanguage,gzorin/OpenShadingLanguage,mcanthony/OpenShadingLanguage,imageworks/OpenShadingLanguage,brechtvl/OpenShadingLanguage,brechtvl/OpenShadingLanguage,johnhaddon/OpenShadingLanguage,gzorin/OpenShadingLanguage,brechtvl/OpenShadingLanguage,yaroslav-tarasov/OpenShadingLanguage,sjparker/OpenShadingLanguage,fpsunflower/OpenShadingLanguage,amartinez-cg/OpenShadingLanguage,yaroslav-tarasov/OpenShadingLanguage,imageworks/OpenShadingLanguage,lgritz/OpenShadingLanguage,amartinez-cg/OpenShadingLanguage,lgritz/OpenShadingLanguage,juvenal/OpenShadingLanguage,gzorin/OpenShadingLanguage,rlmh/OpenShadingLanguage,aconty/OpenShadingLanguage,svenstaro/OpenShadingLanguage,johnhaddon/OpenShadingLanguage,yaroslav-tarasov/OpenShadingLanguage,mcanthony/OpenShadingLanguage,yaroslav-tarasov/OpenShadingLanguage,sjparker/OpenShadingLanguage,imageworks/OpenShadingLanguage,amartinez-cg/OpenShadingLanguage,fpsunflower/OpenShadingLanguage,lgritz/OpenShadingLanguage,amartinez-cg/OpenShadingLanguage,Anteru/OpenShadingLanguage,svenstaro/OpenShadingLanguage,imageworks/OpenShadingLanguage,svenstaro/OpenShadingLanguage,johnhaddon/OpenShadingLanguage,fpsunflower/OpenShadingLanguage,Anteru/OpenShadingLanguage,rlmh/OpenShadingLanguage,brechtvl/OpenShadingLanguage,fpsunflower/OpenShadingLanguage