OpenShadingLanguage 1.01
# Compiled by oslc 1.6.2
surface showdudv	%meta{string,description,"Visualize the derivatives of u and v"} 
param	float	uscale	1		%meta{string,description,"Scaling factor for u derivatives"}  %read{1,1} %write{2147483647,-1}
param	float	vscale	1		%meta{string,description,"Scaling factor for v derivatives"}  %read{3,3} %write{2147483647,-1}
global	float	u	%read{0,0} %write{2147483647,-1} %derivs
global	float	v	%read{2,2} %write{2147483647,-1} %derivs
global	color	C	%read{2147483647,-1} %write{4,4}
global	color	opacity	%read{2147483647,-1} %write{5,5}
temp	float	$tmp1	%read{1,1} %write{0,0}
temp	float	$tmp2	%read{4,4} %write{1,1}
temp	float	$tmp3	%read{3,3} %write{2,2}
temp	float	$tmp4	%read{4,4} %write{3,3}
const	float	$const1	0.1		%read{4,4} %write{2147483647,-1}
const	int	$const2	1		%read{5,5} %write{2147483647,-1}
code ___main___
# D:\\xrt.git\\src\\osl\\shaders\\showdudv.osl:47
#     opacity = 1;
	filterwidth	$tmp1 u 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\showdudv.osl"} %line{47} %argrw{"wr"} %argderivs{1}
	mul		$tmp2 uscale $tmp1 	%argrw{"wrr"}
	filterwidth	$tmp3 v 	%argrw{"wr"} %argderivs{1}
	mul		$tmp4 vscale $tmp3 	%argrw{"wrr"}
	color		C $tmp2 $tmp4 $const1 	%argrw{"wrrr"}
# D:\\xrt.git\\src\\osl\\shaders\\showdudv.osl:48
# }
	assign		opacity $const2 	%line{48} %argrw{"wr"}
	end
