OpenShadingLanguage 1.00
# Compiled by oslc 1.3.0
shader node_geometry
param	normal	NormalIn	0 0 0 		 %read{2,2} %write{0,0}
param	string	bump_offset	"center" 		 %read{8,14} %write{2147483647,-1}
oparam	point	Position	0 0 0 		 %read{10,17} %write{1,17} %derivs
oparam	normal	Normal	0 0 0 		 %read{29,31} %write{2,2}
oparam	normal	Tangent	0 0 0 		 %read{2147483647,-1} %write{31,32}
oparam	normal	TrueNormal	0 0 0 		 %read{2147483647,-1} %write{3,3}
oparam	vector	Incoming	0 0 0 		 %read{2147483647,-1} %write{4,4}
oparam	point	Parametric	0 0 0 		 %read{12,19} %write{5,19} %derivs
oparam	float	Backfacing	0 		 %read{2147483647,-1} %write{7,7}
global	point	P	 %read{1,1} %write{2147483647,-1} %derivs
global	vector	I	 %read{4,4} %write{2147483647,-1}
global	normal	N	 %read{0,0} %write{2147483647,-1}
global	normal	Ng	 %read{3,3} %write{2147483647,-1}
global	float	u	 %read{5,5} %write{2147483647,-1} %derivs
global	float	v	 %read{5,5} %write{2147483647,-1} %derivs
global	vector	dPdu	 %read{32,32} %write{2147483647,-1}
local	point	generated	 %read{22,25} %write{20,20}
local	vector	___290_T	 %read{28,29} %write{27,28}
const	float	$const1	0		 %read{5,27} %write{2147483647,-1}
temp	int	$tmp1	 %read{7,7} %write{6,6}
const	string	$const2	"dx"		 %read{8,8} %write{2147483647,-1}
temp	int	$tmp2	 %read{9,9} %write{8,8}
temp	vector	$tmp3	 %read{11,11} %write{10,10} %derivs
temp	vector	$tmp4	 %read{13,13} %write{12,12} %derivs
const	string	$const3	"dy"		 %read{14,14} %write{2147483647,-1}
temp	int	$tmp5	 %read{15,15} %write{14,14}
temp	vector	$tmp6	 %read{17,17} %write{16,16}
temp	vector	$tmp7	 %read{19,19} %write{18,18}
temp	int	$tmp8	 %read{21,21} %write{20,20}
const	string	$const4	"geom:generated"		 %read{20,20} %write{2147483647,-1}
const	int	$const5	1		 %read{22,22} %write{2147483647,-1}
temp	float	$tmp9	 %read{23,23} %write{22,22}
const	float	$const6	0.5		 %read{23,26} %write{2147483647,-1}
temp	float	$tmp10	 %read{24,24} %write{23,23}
temp	float	$tmp11	 %read{27,27} %write{24,24}
const	int	$const7	0		 %read{25,25} %write{2147483647,-1}
temp	float	$tmp12	 %read{26,26} %write{25,25}
temp	float	$tmp13	 %read{27,27} %write{26,26}
const	string	$const8	"object"		 %read{28,28} %write{2147483647,-1}
const	string	$const9	"world"		 %read{28,28} %write{2147483647,-1}
temp	vector	$tmp14	 %read{31,31} %write{30,30}
temp	vector	$tmp15	 %read{30,30} %write{29,29}
code NormalIn
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_geometry.osl:23
# 	string bump_offset = "center",
	assign		NormalIn N 	%filename{"D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_geometry.osl"} %line{23} %argrw{"wr"}
code ___main___
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_geometry.osl:34
# 	Normal = NormalIn;
	assign		Position P 	%filename{"D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_geometry.osl"} %line{34} %argrw{"wr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_geometry.osl:35
# 	TrueNormal = Ng;
	assign		Normal NormalIn 	%line{35} %argrw{"wr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_geometry.osl:36
# 	Incoming = I;
	assign		TrueNormal Ng 	%line{36} %argrw{"wr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_geometry.osl:37
# 	Parametric = point(u, v, 0.0);
	assign		Incoming I 	%line{37} %argrw{"wr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_geometry.osl:38
# 	Backfacing = backfacing();
	point		Parametric u v $const1 	%line{38} %argrw{"wrrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_geometry.osl:39
# 
	backfacing	$tmp1 	%line{39} %argrw{"w"}
	assign		Backfacing $tmp1 	%argrw{"wr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_geometry.osl:41
# 		Position += Dx(Position);
	eq		$tmp2 bump_offset $const2 	%line{41} %argrw{"wrr"}
	if		$tmp2 14 20 	%argrw{"r"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_geometry.osl:42
# 		Parametric += Dx(Parametric);
	Dx		$tmp3 Position 	%line{42} %argrw{"wr"} %argderivs{1}
	add		Position Position $tmp3 	%argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_geometry.osl:43
# 	}
	Dx		$tmp4 Parametric 	%line{43} %argrw{"wr"} %argderivs{1}
	add		Parametric Parametric $tmp4 	%argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_geometry.osl:45
# 		Position += Dy(Position);
	eq		$tmp5 bump_offset $const3 	%line{45} %argrw{"wrr"}
	if		$tmp5 20 20 	%argrw{"r"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_geometry.osl:46
# 		Parametric += Dy(Parametric);
	Dy		$tmp6 Position 	%line{46} %argrw{"wr"} %argderivs{1}
	add		Position Position $tmp6 	%argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_geometry.osl:47
# 	}
	Dy		$tmp7 Parametric 	%line{47} %argrw{"wr"} %argderivs{1}
	add		Parametric Parametric $tmp7 	%argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_geometry.osl:54
# 		vector T = vector(-(generated[1] - 0.5), (generated[0] - 0.5), 0.0);
	getattribute	$tmp8 $const4 generated 	%line{54} %argrw{"wrw"}
	if		$tmp8 32 33 	%argrw{"r"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_geometry.osl:55
# 		T = transform("object", "world", T);
	compref		$tmp9 generated $const5 	%line{55} %argrw{"wrr"}
	sub		$tmp10 $tmp9 $const6 	%argrw{"wrr"}
	neg		$tmp11 $tmp10 	%argrw{"wr"}
	compref		$tmp12 generated $const7 	%argrw{"wrr"}
	sub		$tmp13 $tmp12 $const6 	%argrw{"wrr"}
	vector		___290_T $tmp11 $tmp13 $const1 	%argrw{"wrrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_geometry.osl:56
# 		Tangent = cross(Normal, normalize(cross(T, Normal)));
	transformv	___290_T $const8 $const9 ___290_T 	%line{56} %argrw{"wrrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_geometry.osl:57
# 	}
	cross		$tmp15 ___290_T Normal 	%line{57} %argrw{"wrr"}
	normalize	$tmp14 $tmp15 	%argrw{"wr"}
	cross		Tangent Normal $tmp14 	%argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_geometry.osl:61
# 	}
	normalize	Tangent dPdu 	%line{61} %argrw{"wr"}
	end
