OpenShadingLanguage 1.01
# Compiled by oslc 1.6.2
displacement maya_displacementShader
param	float	displacement	0		%read{8,8} %write{2147483647,-1} %derivs
global	point	P	%read{4,11} %write{10,10} %derivs
global	normal	N	%read{0,12} %write{11,13} %derivs
global	normal	Ng	%read{1,1} %write{2147483647,-1} %derivs
local	normal	Ndiff	%read{13,13} %write{2,2} %derivs
local	point	po	%read{9,10} %write{4,9} %derivs
temp	normal	$tmp1	%read{2,2} %write{0,0} %derivs
temp	normal	$tmp2	%read{2,2} %write{1,1} %derivs
const	string	$const1	"world"		%read{4,10} %write{2147483647,-1}
const	string	$const2	"transform"		%read{3,5} %write{2147483647,-1}
const	string	$const3	"common"		%read{4,10} %write{2147483647,-1}
temp	normal	$tmp3	%read{8,8} %write{7,7} %derivs
temp	normal	$tmp4	%read{7,7} %write{6,6} %derivs
temp	normal	$tmp5	%read{9,9} %write{8,8} %derivs
temp	normal	$tmp6	%read{13,13} %write{12,12} %derivs
code ___main___
# D:\\xrt.git\\src\\osl\\shaders\\maya_displacementShader.osl:6
#  
	normalize	$tmp1 N 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\maya_displacementShader.osl"} %line{6} %argrw{"wr"}
	normalize	$tmp2 Ng 	%argrw{"wr"}
	sub		Ndiff $tmp1 $tmp2 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_displacementShader.osl:9
# 	po += displacement * normalize( transform( "world", N ) );
	functioncall	$const2 5 	%line{9} %argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:249
# 
	transform	po $const3 $const1 P 	%filename{"D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h"} %line{249} %argrw{"wrrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_displacementShader.osl:10
# 	P = transform( "world", "common", po );
	functioncall	$const2 7 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\maya_displacementShader.osl"} %line{10} %argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:247
#     fresnel(I, N, eta, Kr, Kt, R, T);
	transformn	$tmp4 $const3 $const1 N 	%filename{"D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h"} %line{247} %argrw{"wrrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_displacementShader.osl:10
# 	P = transform( "world", "common", po );
	normalize	$tmp3 $tmp4 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\maya_displacementShader.osl"} %line{10} %argrw{"wr"}
	mul		$tmp5 displacement $tmp3 	%argrw{"wrr"}
	add		po po $tmp5 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_displacementShader.osl:11
# 	N = calculatenormal( P );
	transform	P $const1 $const3 po 	%line{11} %argrw{"wrrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_displacementShader.osl:12
#   
	calculatenormal	N P 	%line{12} %argrw{"wr"} %argderivs{1}
# D:\\xrt.git\\src\\osl\\shaders\\maya_displacementShader.osl:14
# }
	normalize	$tmp6 N 	%line{14} %argrw{"wr"}
	add		N $tmp6 Ndiff 	%argrw{"wrr"}
	end
