OpenShadingLanguage 1.01
# Compiled by oslc 1.6.2
light maya_areaLight%emit{1}
param	color	_color	1 1 1		%read{19,19} %write{2147483647,-1}
param	float	intensity	1		%read{20,20} %write{2147483647,-1}
param	float	decayRate	0		%read{4,17} %write{2147483647,-1}
param	color	shadowColor	0 0 0		%read{27,27} %write{2147483647,-1}
param	float	dmapFilterSize	1		%read{2147483647,-1} %write{2147483647,-1}
param	float	dmapBias	0		%read{2147483647,-1} %write{2147483647,-1}
param	float	useRayTraceShadows	0		%read{22,22} %write{2147483647,-1}
param	string	shadowmapname	""		%read{2147483647,-1} %write{2147483647,-1}
param	float	shadowBlur	0		%read{25,25} %write{2147483647,-1}
param	float	shadowRays	1		%read{0,0} %write{2147483647,-1}
param	float	shadowSamples	0		%read{24,24} %write{0,0} %initexpr
global	point	P	%read{1,25} %write{2147483647,-1} %derivs
global	normal	N	%read{1,1} %write{2147483647,-1}
global	point	Ps	%read{25,25} %write{2147483647,-1} %derivs
global	vector	L	%read{8,15} %write{2147483647,-1}
global	color	Cl	%read{27,27} %write{21,27}
local	float	___300_atten	%read{9,20} %write{3,18}
local	color	___300_lcolor	%read{21,21} %write{19,19}
local	color	___304_Cshad	%read{27,27} %write{26,26}
temp	int	$tmp1	%read{2,2} %write{1,1}
const	float	$const1	1.5707964		%read{1,1} %write{2147483647,-1}
const	float	$const2	1		%read{3,26} %write{2147483647,-1}
const	float	$const3	0		%read{4,4} %write{2147483647,-1}
temp	int	$tmp2	%read{5,5} %write{4,4}
const	float	$const4	2		%read{6,6} %write{2147483647,-1}
temp	int	$tmp3	%read{7,7} %write{6,6}
temp	float	$tmp4	%read{9,9} %write{8,8}
temp	int	$tmp5	%read{11,11} %write{10,10}
temp	float	$tmp6	%read{14,14} %write{13,13}
temp	float	$tmp7	%read{13,13} %write{12,12}
temp	float	$tmp8	%read{18,18} %write{17,17}
temp	float	$tmp9	%read{17,17} %write{16,16}
temp	float	$tmp10	%read{16,16} %write{15,15}
temp	float	$tmp11	%read{21,21} %write{20,20}
const	int	$const5	1		%read{22,22} %write{2147483647,-1}
temp	int	$tmp12	%read{23,23} %write{22,22}
temp	color	$tmp13	%read{26,26} %write{25,25}
const	string	$const6	"coneangle"		%read{25,25} %write{2147483647,-1}
const	string	$const7	"samples"		%read{25,25} %write{2147483647,-1}
temp	int	$tmp14	%read{25,25} %write{24,24}
code shadowSamples
# D:\\xrt.git\\src\\osl\\shaders\\maya_areaLight.osl:19
# {
	assign		shadowSamples shadowRays 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\maya_areaLight.osl"} %line{19} %argrw{"wr"}
code ___main___
# D:\\xrt.git\\src\\osl\\shaders\\maya_areaLight.osl:53
# }
	emit		$tmp1 P N $const1 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\maya_areaLight.osl"} %line{53} %argrw{"wrrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_areaLight.osl:22
# 	{
	if		$tmp1 28 28 	%line{22} %argrw{"r"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_areaLight.osl:24
# 
	assign		___300_atten $const2 	%line{24} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_areaLight.osl:26
# 			/* do nothing */ ;
	eq		$tmp2 decayRate $const3 	%line{26} %argrw{"wrr"}
	if		$tmp2 6 19 	%argrw{"r"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_areaLight.osl:28
# 		{
	eq		$tmp3 decayRate $const4 	%line{28} %argrw{"wrr"}
	if		$tmp3 10 19 	%argrw{"r"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_areaLight.osl:30
# 		}
	dot		$tmp4 L L 	%line{30} %argrw{"wrr"}
	div		___300_atten ___300_atten $tmp4 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_areaLight.osl:32
# 		{
	eq		$tmp5 decayRate $const2 	%line{32} %argrw{"wrr"}
	if		$tmp5 15 19 	%argrw{"r"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_areaLight.osl:34
# 		}
	dot		$tmp7 L L 	%line{34} %argrw{"wrr"}
	sqrt		$tmp6 $tmp7 	%argrw{"wr"}
	div		___300_atten ___300_atten $tmp6 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_areaLight.osl:38
# 		}
	dot		$tmp10 L L 	%line{38} %argrw{"wrr"}
	sqrt		$tmp9 $tmp10 	%argrw{"wr"}
	pow		$tmp8 $tmp9 decayRate 	%argrw{"wrr"}
	div		___300_atten ___300_atten $tmp8 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_areaLight.osl:44
# 
	assign		___300_lcolor _color 	%line{44} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_areaLight.osl:46
# 
	mul		$tmp11 ___300_atten intensity 	%line{46} %argrw{"wrr"}
	mul		Cl $tmp11 ___300_lcolor 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_areaLight.osl:48
# 		{
	eq		$tmp12 useRayTraceShadows $const5 	%line{48} %argrw{"wrr"}
	if		$tmp12 28 28 	%argrw{"r"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_areaLight.osl:50
# 			Cl = mix( Cl, shadowColor, Cshad );
	assign		$tmp14 shadowSamples 	%line{50} %argrw{"wr"}
	transmission	$tmp13 Ps P $const6 shadowBlur $const7 $tmp14 	%argrw{"wrrrrrr"} %argderivs{1,2}
	sub		___304_Cshad $const2 $tmp13 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_areaLight.osl:51
# 		}
	mix		Cl Cl shadowColor ___304_Cshad 	%line{51} %argrw{"wrrr"}
	end
