OpenShadingLanguage 1.00
# Compiled by oslc 1.11.17
# options: -q -O2 -I/build/blender/src/blender/intern/cycles/kernel/osl/shaders -I/usr/share/OSL/shaders -o /build/blender/src/blender/build/intern/cycles/kernel/osl/shaders/node_blackbody.oso
shader node_blackbody
param	float	Temperature	1200		%read{0,0} %write{2147483647,-1}
oparam	color	Color	0 0 0		%read{2147483647,-1} %write{5,5}
local	color	rgb	%read{1,5} %write{0,4}
local	float	l	%read{2,4} %write{1,1}
const	float	$const1	0		%read{2,2} %write{2147483647,-1}
temp	int	$tmp1	%read{3,3} %write{2,2}
code ___main___
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_blackbody.osl:8
#   color rgb = blackbody(Temperature);
	blackbody	rgb Temperature 	%filename{"/build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_blackbody.osl"} %line{8} %argrw{"wr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_blackbody.osl:11
#   float l = luminance(rgb);
	luminance	l rgb 	%line{11} %argrw{"wr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_blackbody.osl:12
#   if (l != 0.0)
	neq		$tmp1 l $const1 	%line{12} %argrw{"wrr"}
	if		$tmp1 5 5 	%argrw{"r"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_blackbody.osl:13
#     rgb /= l;
	div		rgb rgb l 	%line{13} %argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_blackbody.osl:14
#   Color = rgb;
	assign		Color rgb 	%line{14} %argrw{"wr"}
	end
