OpenShadingLanguage 1.00
# Compiled by oslc 1.15.3.0
# options: -q -O2 -I/build/blender/src/blender/intern/cycles/kernel/osl/shaders -I/usr/share/OSL/shaders -o /build/blender/src/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:9
#   color rgb = blackbody(Temperature);
	blackbody	rgb Temperature 	%filename{"/build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_blackbody.osl"} %line{9} %argrw{"wr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_blackbody.osl:12
#   float l = luminance(rgb);
	luminance	l rgb 	%line{12} %argrw{"wr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_blackbody.osl:13
#   if (l != 0.0)
	neq		$tmp1 l $const1 	%line{13} %argrw{"wrr"}
	if		$tmp1 5 5 	%argrw{"r"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_blackbody.osl:14
#     rgb /= l;
	div		rgb rgb l 	%line{14} %argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_blackbody.osl:15
#   Color = rgb;
	assign		Color rgb 	%line{15} %argrw{"wr"}
	end
