OpenShadingLanguage 1.01
# Compiled by oslc 1.6.2
surface maya_envSphere
param	color	image	0.5 0.5 0.5		%read{0,0} %write{2147483647,-1}
oparam	color	outColor	0 0 0		%read{2,7} %write{0,0}
oparam	float	outAlpha	0		%read{2147483647,-1} %write{9,9}
const	string	$const1	"luminance"		%read{1,1} %write{2147483647,-1}
const	float	$const2	0.30000001		%read{3,3} %write{2147483647,-1}
const	int	$const3	0		%read{2,2} %write{2147483647,-1}
temp	float	$tmp1	%read{3,3} %write{2,2}
temp	float	$tmp2	%read{6,6} %write{3,3}
const	float	$const4	0.58999997		%read{5,5} %write{2147483647,-1}
const	int	$const5	1		%read{4,4} %write{2147483647,-1}
temp	float	$tmp3	%read{5,5} %write{4,4}
temp	float	$tmp4	%read{6,6} %write{5,5}
temp	float	$tmp5	%read{9,9} %write{6,6}
const	float	$const6	0.11		%read{8,8} %write{2147483647,-1}
const	int	$const7	2		%read{7,7} %write{2147483647,-1}
temp	float	$tmp6	%read{8,8} %write{7,7}
temp	float	$tmp7	%read{9,9} %write{8,8}
code ___main___
# D:\\xrt.git\\src\\osl\\shaders\\maya_envSphere.osl:13
# 	outAlpha = luminance( outColor );
	assign		outColor image 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\maya_envSphere.osl"} %line{13} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_envSphere.osl:14
# }
	functioncall	$const1 10 	%line{14} %argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\utils.h:18
# #define LOG05 -0.693147180559945  /* log(0.5) */
	compref		$tmp1 outColor $const3 	%filename{"D:/xrt.git\\src\\osl\\shaders\\utils.h"} %line{18} %argrw{"wrr"}
	mul		$tmp2 $const2 $tmp1 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\utils.h:19
# #ifndef UNDEFINED_UV
	compref		$tmp3 outColor $const5 	%line{19} %argrw{"wrr"}
	mul		$tmp4 $const4 $tmp3 	%argrw{"wrr"}
	add		$tmp5 $tmp2 $tmp4 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\utils.h:20
# #define UNDEFINED_UV -10000000
	compref		$tmp6 outColor $const7 	%line{20} %argrw{"wrr"}
	mul		$tmp7 $const6 $tmp6 	%argrw{"wrr"}
	add		outAlpha $tmp5 $tmp7 	%argrw{"wrr"}
	end
