OpenShadingLanguage 1.01
# Compiled by oslc 1.6.2
light arealight%emit{1}
param	float	intensity	1		%read{3,3} %write{2147483647,-1}
param	color	lightcolor	1 1 1		%read{4,4} %write{2147483647,-1}
param	string	shadowname	""		%read{5,7} %write{2147483647,-1}
param	int	shadowsamples	1		%read{7,7} %write{2147483647,-1}
param	float	shadowblur	0		%read{7,7} %write{2147483647,-1}
param	float	shadowbias	-1		%read{7,7} %write{2147483647,-1}
global	point	P	%read{0,7} %write{2147483647,-1} %derivs
global	normal	N	%read{0,0} %write{2147483647,-1}
global	point	Ps	%read{7,7} %write{2147483647,-1} %derivs
global	vector	L	%read{2,2} %write{2147483647,-1}
global	color	Cl	%read{8,8} %write{4,8}
temp	int	$tmp1	%read{1,1} %write{0,0}
const	float	$const1	1.5707964		%read{0,0} %write{2147483647,-1}
temp	float	$tmp2	%read{3,3} %write{2,2}
temp	float	$tmp3	%read{4,4} %write{3,3}
const	string	$const2	""		%read{5,5} %write{2147483647,-1}
temp	int	$tmp4	%read{6,6} %write{5,5}
temp	color	$tmp5	%read{8,8} %write{7,7}
const	string	$const3	"traceset"		%read{7,7} %write{2147483647,-1}
const	string	$const4	"samples"		%read{7,7} %write{2147483647,-1}
const	string	$const5	"blur"		%read{7,7} %write{2147483647,-1}
const	string	$const6	"bias"		%read{7,7} %write{2147483647,-1}
code ___main___
# D:\\xrt.git\\src\\osl\\shaders\\arealight.osl:35
# }
	emit		$tmp1 P N $const1 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\arealight.osl"} %line{35} %argrw{"wrrr"}
# D:\\xrt.git\\src\\osl\\shaders\\arealight.osl:30
# 	Cl = (intensity / dot(L,L)) * lightcolor;
	if		$tmp1 9 9 	%line{30} %argrw{"r"}
# D:\\xrt.git\\src\\osl\\shaders\\arealight.osl:31
#         if (shadowname != "")
	dot		$tmp2 L L 	%line{31} %argrw{"wrr"}
	div		$tmp3 intensity $tmp2 	%argrw{"wrr"}
	mul		Cl $tmp3 lightcolor 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\arealight.osl:32
#             Cl *= transmission (Ps, P, "traceset", shadowname,"samples", shadowsamples,
	neq		$tmp4 shadowname $const2 	%line{32} %argrw{"wrr"}
	if		$tmp4 9 9 	%argrw{"r"}
# D:\\xrt.git\\src\\osl\\shaders\\arealight.osl:34
#     }
	transmission	$tmp5 Ps P $const3 shadowname $const4 shadowsamples $const5 shadowblur $const6 shadowbias 	%line{34} %argrw{"wrrrrrrrrrr"} %argderivs{1,2}
	mul		Cl Cl $tmp5 	%argrw{"wrr"}
	end
