From df1e9b662bd6938f74579cea9d30341f3b6dd02b Mon Sep 17 00:00:00 2001 From: Ray Molenkamp Date: Tue, 11 Feb 2020 21:40:23 -0700 Subject: Cleanup: Fix build warnings from OSL shader compilation There were to copies of stdosl.h one from stock OSL and one in the cycles tree augmented with cycles specific closures. moved the cycles ones to stdcycles.h and copied the stock stdosl.h and accompanying headers from the OSL shader folder. for further details see D6812. Reviewed By: brecht Differential Revision: https://developer.blender.org/D6812 --- intern/cycles/kernel/shaders/node_clamp.osl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'intern/cycles/kernel/shaders/node_clamp.osl') diff --git a/intern/cycles/kernel/shaders/node_clamp.osl b/intern/cycles/kernel/shaders/node_clamp.osl index d689ba7f809..ce9392a0d98 100644 --- a/intern/cycles/kernel/shaders/node_clamp.osl +++ b/intern/cycles/kernel/shaders/node_clamp.osl @@ -14,7 +14,7 @@ * limitations under the License. */ -#include "stdosl.h" +#include "stdcycles.h" shader node_clamp(string type = "minmax", float Value = 1.0, -- cgit v1.2.3