OpenShadingLanguage 1.01
# Compiled by oslc 1.6.2
surface glassbal
param	float	Ka	0		%read{144,144} %write{2147483647,-1}
param	float	Ks	0.60000002		%read{165,165} %write{2147483647,-1}
param	float	roughness	0.2		%read{181,181} %write{2147483647,-1}
param	float	Kd	0		%read{162,162} %write{2147483647,-1}
param	float	eta	0.60000002		%read{23,78} %write{2147483647,-1} %derivs
param	color	specularcolor	1 1 1		%read{165,165} %write{2147483647,-1}
param	string	envname	""		%read{189,246} %write{2147483647,-1}
global	point	P	%read{148,246} %write{2147483647,-1} %derivs
global	vector	I	%read{3,9} %write{2147483647,-1} %derivs
global	normal	N	%read{0,0} %write{2147483647,-1} %derivs
global	normal	Ng	%read{3,3} %write{2147483647,-1}
global	color	C	%read{142,252} %write{188,252}
global	color	opacity	%read{252,252} %write{2147483647,-1}
global	vector	L	%read{155,175} %write{2147483647,-1}
global	color	Cl	%read{153,174} %write{2147483647,-1}
local	float	___216_IdotN	%read{54,129} %write{52,119} %derivs
local	float	___216_k	%read{58,130} %write{57,124} %derivs
local	float	___217_c	%read{14,109} %write{13,83}
local	float	___217_g	%read{28,109} %write{27,97}
local	float	___219_beta	%read{35,110} %write{31,98}
local	float	___219_F	%read{39,114} %write{37,113}
local	color	___278_C	%read{147,161} %write{146,160}
local	float	___279___nondiffuse	%read{147,160} %write{147,160}
local	vector	___280_H	%read{168,185} %write{168,185}
local	color	___281_C	%read{168,186} %write{167,185}
local	float	___282___nonspecular	%read{168,185} %write{168,185}
local	int	___301_status	%read{207,240} %write{206,239}
local	color	___302_C	%read{215,248} %write{204,247}
local	point	___304_Pndc	%read{202,236} %write{201,234} %derivs
local	vector	___306_D	%read{2147483647,-1} %write{210,243}
local	float	Kr	%read{48,216} %write{47,68}
local	float	Kt	%read{217,222} %write{50,69}
local	float	Ktr	%read{115,115} %write{114,135}
local	float	Ktt	%read{217,222} %write{117,136}
local	vector	Rray	%read{139,213} %write{21,139} %derivs
local	vector	Tray	%read{141,246} %write{127,141} %derivs
local	vector	R	%read{2147483647,-1} %write{88,88}
local	vector	T	%read{71,128} %write{60,71} %derivs
local	normal	Nf	%read{13,179} %write{6,7} %derivs
local	vector	V	%read{11,177} %write{10,10} %derivs
local	normal	N2	%read{80,132} %write{77,77} %derivs
local	color	Cs	%read{164,221} %write{142,142}
temp	normal	$tmp1	%read{6,7} %write{0,0} %derivs
const	string	$const1	"faceforward"		%read{1,2} %write{2147483647,-1}
temp	float	$tmp2	%read{4,4} %write{3,3}
const	int	$const2	0		%read{4,247} %write{2147483647,-1}
temp	int	$tmp3	%read{5,5} %write{4,4}
temp	vector	$tmp4	%read{10,10} %write{9,9} %derivs
temp	vector	$tmp5	%read{13,61} %write{11,11} %derivs
const	string	$const3	"fresnel"		%read{12,79} %write{2147483647,-1}
temp	int	$tmp6	%read{15,15} %write{14,14}
const	string	$const4	"reflect"		%read{17,84} %write{2147483647,-1}
temp	float	$tmp7	%read{19,19} %write{18,18} %derivs
temp	float	$tmp8	%read{20,20} %write{19,19} %derivs
const	float	$const6	2		%read{19,86} %write{2147483647,-1}
temp	vector	$tmp9	%read{21,21} %write{20,20} %derivs
const	float	$const7	1		%read{24,245} %write{2147483647,-1}
temp	float	$tmp10	%read{24,24} %write{23,23}
const	string	$const8	"sqr"		%read{22,111} %write{2147483647,-1}
temp	float	$tmp11	%read{25,25} %write{24,24}
temp	float	$tmp12	%read{27,27} %write{25,25}
temp	float	$tmp13	%read{27,27} %write{26,26}
const	float	$const9	0		%read{28,246} %write{2147483647,-1}
temp	int	$tmp14	%read{29,29} %write{28,28}
temp	float	$tmp15	%read{33,33} %write{32,32}
temp	float	$tmp16	%read{34,34} %write{33,33}
temp	float	$tmp17	%read{37,37} %write{34,34}
temp	float	$tmp18	%read{36,36} %write{35,35}
temp	float	$tmp19	%read{37,37} %write{36,36}
const	float	$const10	0.5		%read{41,108} %write{2147483647,-1}
temp	float	$tmp20	%read{40,40} %write{39,39}
temp	float	$tmp21	%read{41,41} %write{40,40}
temp	float	$tmp22	%read{46,46} %write{45,45}
temp	float	$tmp23	%read{43,43} %write{42,42}
temp	float	$tmp24	%read{45,45} %write{43,43}
temp	float	$tmp25	%read{49,49} %write{48,48}
temp	float	$tmp26	%read{50,50} %write{49,49}
const	string	$const11	"refract"		%read{51,118} %write{2147483647,-1}
const	int	$const12	1		%read{203,236} %write{2147483647,-1}
temp	float	$tmp27	%read{56,56} %write{53,53} %derivs
temp	float	$tmp28	%read{55,55} %write{54,54} %derivs
temp	float	$tmp29	%read{56,56} %write{55,55} %derivs
temp	float	$tmp30	%read{57,57} %write{56,56} %derivs
temp	int	$tmp31	%read{59,59} %write{58,58}
const	vector	$const13	0 0 0		%read{60,137} %write{2147483647,-1}
temp	vector	$tmp32	%read{66,66} %write{61,61} %derivs
temp	float	$tmp33	%read{64,64} %write{62,62} %derivs
temp	float	$tmp34	%read{64,64} %write{63,63} %derivs
temp	float	$tmp35	%read{65,65} %write{64,64} %derivs
temp	vector	$tmp36	%read{66,66} %write{65,65} %derivs
temp	vector	$tmp37	%read{74,76} %write{72,72} %derivs
temp	float	$tmp38	%read{75,75} %write{74,74} %derivs
temp	float	$tmp39	%read{76,76} %write{75,75} %derivs
temp	vector	$tmp40	%read{77,77} %write{76,76} %derivs
temp	float	$tmp41	%read{90,129} %write{78,78} %derivs
temp	int	$tmp42	%read{82,82} %write{81,81}
temp	float	$tmp43	%read{86,86} %write{85,85}
temp	float	$tmp44	%read{87,87} %write{86,86}
temp	vector	$tmp45	%read{88,88} %write{87,87}
temp	float	$tmp46	%read{91,91} %write{90,90}
temp	float	$tmp47	%read{92,92} %write{91,91}
temp	float	$tmp48	%read{94,94} %write{92,92}
temp	float	$tmp49	%read{94,94} %write{93,93}
temp	int	$tmp50	%read{96,96} %write{95,95}
temp	float	$tmp51	%read{100,100} %write{99,99}
temp	float	$tmp52	%read{101,101} %write{100,100}
temp	float	$tmp53	%read{104,104} %write{101,101}
temp	float	$tmp54	%read{103,103} %write{102,102}
temp	float	$tmp55	%read{104,104} %write{103,103}
temp	float	$tmp56	%read{107,107} %write{106,106}
temp	float	$tmp57	%read{108,108} %write{107,107}
temp	float	$tmp58	%read{113,113} %write{112,112}
temp	float	$tmp59	%read{110,110} %write{109,109}
temp	float	$tmp60	%read{112,112} %write{110,110}
temp	float	$tmp61	%read{116,116} %write{115,115}
temp	float	$tmp62	%read{117,117} %write{116,116}
temp	float	$tmp63	%read{123,123} %write{120,120} %derivs
temp	float	$tmp64	%read{122,122} %write{121,121} %derivs
temp	float	$tmp65	%read{123,123} %write{122,122} %derivs
temp	float	$tmp66	%read{124,124} %write{123,123} %derivs
temp	int	$tmp67	%read{126,126} %write{125,125}
temp	vector	$tmp68	%read{133,133} %write{128,128} %derivs
temp	float	$tmp69	%read{131,131} %write{129,129} %derivs
temp	float	$tmp70	%read{131,131} %write{130,130} %derivs
temp	float	$tmp71	%read{132,132} %write{131,131} %derivs
temp	vector	$tmp72	%read{133,133} %write{132,132} %derivs
const	string	$const14	"world"		%read{139,141} %write{2147483647,-1}
const	string	$const15	"transform"		%read{138,242} %write{2147483647,-1}
const	string	$const16	"common"		%read{139,243} %write{2147483647,-1}
temp	color	$tmp73	%read{144,144} %write{143,143}
temp	color	$tmp74	%read{147,163} %write{144,160}
temp	color	$tmp75	%read{162,162} %write{161,161}
const	string	$const17	"diffuse"		%read{145,145} %write{2147483647,-1}
const	float	$const18	1.5707964		%read{148,170} %write{2147483647,-1}
temp	int	$tmp76	%read{147,160} %write{147,160}
temp	int	$tmp77	%read{2147483647,-1} %write{151,151}
const	string	$const19	"light"		%read{151,172} %write{2147483647,-1}
const	string	$const20	"__nondiffuse"		%read{151,151} %write{2147483647,-1}
temp	float	$tmp78	%read{153,153} %write{152,152}
temp	color	$tmp79	%read{159,159} %write{153,153}
temp	color	$tmp80	%read{159,159} %write{158,158}
temp	color	$tmp81	%read{158,158} %write{154,154}
temp	float	$tmp82	%read{157,157} %write{156,156}
temp	vector	$tmp83	%read{156,156} %write{155,155}
temp	color	$tmp84	%read{158,158} %write{157,157}
temp	color	$tmp85	%read{147,160} %write{147,160}
temp	color	$tmp86	%read{163,163} %write{162,162}
temp	color	$tmp87	%read{164,164} %write{163,163}
temp	color	$tmp88	%read{168,188} %write{164,185}
temp	color	$tmp89	%read{168,187} %write{165,185}
temp	color	$tmp90	%read{187,187} %write{186,186}
const	string	$const21	"specular"		%read{166,166} %write{2147483647,-1}
temp	int	$tmp91	%read{168,185} %write{168,185}
temp	int	$tmp92	%read{2147483647,-1} %write{172,172}
const	string	$const22	"__nonspecular"		%read{172,172} %write{2147483647,-1}
temp	float	$tmp93	%read{174,174} %write{173,173}
temp	color	$tmp94	%read{184,184} %write{174,174}
temp	color	$tmp95	%read{184,184} %write{183,183}
temp	vector	$tmp96	%read{177,177} %write{175,175}
const	string	$const23	"specularbrdf"		%read{176,176} %write{2147483647,-1}
temp	vector	$tmp97	%read{178,178} %write{177,177}
temp	float	$tmp98	%read{183,183} %write{182,182}
temp	float	$tmp99	%read{182,182} %write{180,180}
temp	float	$tmp100	%read{180,180} %write{179,179}
temp	float	$tmp101	%read{182,182} %write{181,181}
const	float	$const25	8		%read{181,181} %write{2147483647,-1}
temp	color	$tmp102	%read{168,185} %write{168,185}
temp	color	$tmp103	%read{188,188} %write{187,187}
const	string	$const26	""		%read{189,243} %write{2147483647,-1}
temp	int	$tmp104	%read{190,190} %write{189,189}
temp	color	$tmp105	%read{216,216} %write{215,215}
const	string	$const27	"Environment"		%read{191,224} %write{2147483647,-1}
temp	int	$tmp106	%read{193,197} %write{192,196}
temp	int	$tmp107	%read{195,195} %write{194,194}
temp	int	$tmp108	%read{196,196} %write{195,195}
const	string	$const28	"NDC"		%read{198,234} %write{2147483647,-1}
temp	int	$tmp109	%read{199,199} %write{198,198}
temp	float	$tmp110	%read{204,204} %write{202,202} %derivs
temp	float	$tmp111	%read{204,204} %write{203,203} %derivs
const	string	$const29	"blur"		%read{204,246} %write{2147483647,-1}
temp	int	$tmp112	%read{208,208} %write{207,207}
const	string	$const30	"istexture"		%read{205,238} %write{2147483647,-1}
temp	int	$tmp113	%read{2147483647,-1} %write{206,206}
const	string	$const31	"exists"		%read{206,239} %write{2147483647,-1}
const	string	$const32	"samples"		%read{213,246} %write{2147483647,-1}
temp	int	$tmp114	%read{213,213} %write{212,212}
const	string	$const33	"traceset"		%read{213,246} %write{2147483647,-1}
temp	color	$tmp115	%read{250,250} %write{216,216}
temp	color	$tmp116	%read{221,221} %write{220,220}
temp	float	$tmp117	%read{218,218} %write{217,217}
temp	color	$tmp118	%read{220,220} %write{218,218}
temp	color	$tmp119	%read{220,220} %write{219,219}
temp	color	$tmp120	%read{249,249} %write{221,221}
temp	color	$tmp121	%read{249,249} %write{248,248}
temp	float	$tmp122	%read{227,227} %write{223,223}
temp	float	$tmp123	%read{223,223} %write{222,222}
temp	int	$tmp124	%read{226,230} %write{225,229}
temp	int	$tmp125	%read{228,228} %write{227,227}
temp	int	$tmp126	%read{229,229} %write{228,228}
temp	int	$tmp127	%read{232,232} %write{231,231}
temp	float	$tmp128	%read{237,237} %write{235,235} %derivs
temp	float	$tmp129	%read{237,237} %write{236,236} %derivs
temp	int	$tmp130	%read{241,241} %write{240,240}
temp	int	$tmp131	%read{2147483647,-1} %write{239,239}
temp	int	$tmp132	%read{246,246} %write{245,245}
temp	color	$tmp133	%read{250,250} %write{249,249}
temp	color	$tmp134	%read{251,251} %write{250,250}
code ___main___
# D:\\xrt.git\\src\\osl\\shaders\\glassbal.osl:25
#     V = -normalize(I) ;
	normalize	$tmp1 N 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\glassbal.osl"} %line{25} %argrw{"wr"}
	functioncall	$const1 9 	%argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:196
# float erfc (float x) BUILTIN;
	functioncall	$const1 9 	%filename{"D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h"} %line{196} %argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:192
#     return (dot(I,Nref) > 0) ? -N : N;
	dot		$tmp2 I Ng 	%line{192} %argrw{"wrr"}
	gt		$tmp3 $tmp2 $const2 	%argrw{"wrr"}
	if		$tmp3 7 8 	%argrw{"r"}
	neg		Nf $tmp1 	%argrw{"wr"}
	assign		Nf $tmp1 	%argrw{"wr"}
	return
# D:\\xrt.git\\src\\osl\\shaders\\glassbal.osl:26
# 
	normalize	$tmp4 I 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\glassbal.osl"} %line{26} %argrw{"wr"}
	neg		V $tmp4 	%argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\glassbal.osl:29
#     T = normalize(T);
	neg		$tmp5 V 	%line{29} %argrw{"wr"}
	functioncall	$const3 71 	%argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:209
# {
	dot		___217_c $tmp5 Nf 	%filename{"D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h"} %line{209} %argrw{"wrr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:210
#     vector d = b - a;
	lt		$tmp6 ___217_c $const2 	%line{210} %argrw{"wrr"}
	if		$tmp6 17 17 	%argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:211
#     float dd = dot(d, d);
	neg		___217_c ___217_c 	%line{211} %argrw{"wr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:212
#     if(dd == 0.0)
	functioncall	$const4 22 	%line{212} %argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:198
# vector reflect (vector I, vector N) { return I - 2*dot(N,I)*N; }
	dot		$tmp7 Nf $tmp5 	%line{198} %argrw{"wrr"}
	mul		$tmp8 $const6 $tmp7 	%argrw{"wrr"}
	mul		$tmp9 $tmp8 Nf 	%argrw{"wrr"}
	sub		Rray $tmp5 $tmp9 	%argrw{"wrr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:213
#     float g = 1.0 / sqr(eta) - 1.0 + c * c;
	functioncall	$const8 24 	%line{213} %argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:208
#     float sqr(float x) { return x*x; }
	mul		$tmp10 eta eta 	%line{208} %argrw{"wrr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:213
#     float g = 1.0 / sqr(eta) - 1.0 + c * c;
	div		$tmp11 $const7 $tmp10 	%line{213} %argrw{"wrr"}
	sub		$tmp12 $tmp11 $const7 	%argrw{"wrr"}
	mul		$tmp13 ___217_c ___217_c 	%argrw{"wrr"}
	add		___217_g $tmp12 $tmp13 	%argrw{"wrr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:214
#     if (g >= 0.0) {
	ge		$tmp14 ___217_g $const9 	%line{214} %argrw{"wrr"}
	if		$tmp14 68 71 	%argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:215
#         g = sqrt (g);
	sqrt		___217_g ___217_g 	%line{215} %argrw{"wr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:216
#         float beta = g - c;
	sub		___219_beta ___217_g ___217_c 	%line{216} %argrw{"wrr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:217
#         float F = (c * (g+c) - 1.0) / (c * beta + 1.0);
	add		$tmp15 ___217_g ___217_c 	%line{217} %argrw{"wrr"}
	mul		$tmp16 ___217_c $tmp15 	%argrw{"wrr"}
	sub		$tmp17 $tmp16 $const7 	%argrw{"wrr"}
	mul		$tmp18 ___217_c ___219_beta 	%argrw{"wrr"}
	add		$tmp19 $tmp18 $const7 	%argrw{"wrr"}
	div		___219_F $tmp17 $tmp19 	%argrw{"wrr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:218
#         F = 0.5 * (1.0 + sqr(F));
	functioncall	$const8 40 	%line{218} %argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:208
#     float sqr(float x) { return x*x; }
	mul		$tmp20 ___219_F ___219_F 	%line{208} %argrw{"wrr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:218
#         F = 0.5 * (1.0 + sqr(F));
	add		$tmp21 $const7 $tmp20 	%line{218} %argrw{"wrr"}
	mul		___219_F $const10 $tmp21 	%argrw{"wrr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:219
#         F *= sqr (beta / (g+c));
	add		$tmp23 ___217_g ___217_c 	%line{219} %argrw{"wrr"}
	div		$tmp24 ___219_beta $tmp23 	%argrw{"wrr"}
	functioncall	$const8 46 	%argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:208
#     float sqr(float x) { return x*x; }
	mul		$tmp22 $tmp24 $tmp24 	%line{208} %argrw{"wrr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:219
#         F *= sqr (beta / (g+c));
	mul		___219_F ___219_F $tmp22 	%line{219} %argrw{"wrr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:220
#         Kr = F;
	assign		Kr ___219_F 	%line{220} %argrw{"wr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:221
#         Kt = (1.0 - Kr) * eta*eta;
	sub		$tmp25 $const7 Kr 	%line{221} %argrw{"wrr"}
	mul		$tmp26 $tmp25 eta 	%argrw{"wrr"}
	mul		Kt $tmp26 eta 	%argrw{"wrr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:224
#         T = refract(I, N, eta);
	functioncall	$const11 68 	%line{224} %argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:200
#     float IdotN = dot (I, N);
	dot		___216_IdotN $tmp5 Nf 	%line{200} %argrw{"wrr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:201
#     float k = 1 - eta*eta * (1 - IdotN*IdotN);
	mul		$tmp27 eta eta 	%line{201} %argrw{"wrr"}
	mul		$tmp28 ___216_IdotN ___216_IdotN 	%argrw{"wrr"}
	sub		$tmp29 $const7 $tmp28 	%argrw{"wrr"}
	mul		$tmp30 $tmp27 $tmp29 	%argrw{"wrr"}
	sub		___216_k $const7 $tmp30 	%argrw{"wrr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:202
#     return (k < 0) ? vector(0,0,0) : (eta*I - N * (eta*IdotN + sqrt(k)));
	lt		$tmp31 ___216_k $const2 	%line{202} %argrw{"wrr"}
	if		$tmp31 61 67 	%argrw{"r"}
	assign		T $const13 	%argrw{"wr"}
	mul		$tmp32 eta $tmp5 	%argrw{"wrr"}
	mul		$tmp33 eta ___216_IdotN 	%argrw{"wrr"}
	sqrt		$tmp34 ___216_k 	%argrw{"wr"}
	add		$tmp35 $tmp33 $tmp34 	%argrw{"wrr"}
	mul		$tmp36 Nf $tmp35 	%argrw{"wrr"}
	sub		T $tmp32 $tmp36 	%argrw{"wrr"}
	return
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:227
#         Kr = 1.0;
	assign		Kr $const7 	%line{227} %argrw{"wr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:228
#         Kt = 0.0;
	assign		Kt $const9 	%line{228} %argrw{"wr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:229
#         T = vector (0,0,0);
	assign		T $const13 	%line{229} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\glassbal.osl:30
#     N2 = reflect(Nf, -T);
	normalize	T T 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\glassbal.osl"} %line{30} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\glassbal.osl:31
#     fresnel(T, N2, 1/eta, Ktr, Ktt, R, Tray);
	neg		$tmp37 T 	%line{31} %argrw{"wr"}
	functioncall	$const4 78 	%argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:198
# int isnan (float x) BUILTIN;
	dot		$tmp38 $tmp37 Nf 	%filename{"D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h"} %line{198} %argrw{"wrr"}
	mul		$tmp39 $const6 $tmp38 	%argrw{"wrr"}
	mul		$tmp40 $tmp39 $tmp37 	%argrw{"wrr"}
	sub		N2 Nf $tmp40 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\glassbal.osl:32
#     Rray = transform("world", Rray);
	div		$tmp41 $const7 eta 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\glassbal.osl"} %line{32} %argrw{"wrr"}
	functioncall	$const3 138 	%argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:209
# float length (vector v) BUILTIN;
	dot		___217_c T N2 	%filename{"D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h"} %line{209} %argrw{"wrr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:210
# float distance (point a, point b) BUILTIN;
	lt		$tmp42 ___217_c $const2 	%line{210} %argrw{"wrr"}
	if		$tmp42 84 84 	%argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:211
# float distance (point a, point b, point q)
	neg		___217_c ___217_c 	%line{211} %argrw{"wr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:212
# {
	functioncall	$const4 89 	%line{212} %argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:198
# vector reflect (vector I, vector N) { return I - 2*dot(N,I)*N; }
	dot		$tmp43 N2 T 	%line{198} %argrw{"wrr"}
	mul		$tmp44 $const6 $tmp43 	%argrw{"wrr"}
	mul		$tmp45 $tmp44 N2 	%argrw{"wrr"}
	sub		R T $tmp45 	%argrw{"wrr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:213
#     float g = 1.0 / sqr(eta) - 1.0 + c * c;
	functioncall	$const8 91 	%line{213} %argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:208
#     float sqr(float x) { return x*x; }
	mul		$tmp46 $tmp41 $tmp41 	%line{208} %argrw{"wrr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:213
#     float g = 1.0 / sqr(eta) - 1.0 + c * c;
	div		$tmp47 $const7 $tmp46 	%line{213} %argrw{"wrr"}
	sub		$tmp48 $tmp47 $const7 	%argrw{"wrr"}
	mul		$tmp49 ___217_c ___217_c 	%argrw{"wrr"}
	add		___217_g $tmp48 $tmp49 	%argrw{"wrr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:214
#     if (g >= 0.0) {
	ge		$tmp50 ___217_g $const9 	%line{214} %argrw{"wrr"}
	if		$tmp50 135 138 	%argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:215
#         g = sqrt (g);
	sqrt		___217_g ___217_g 	%line{215} %argrw{"wr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:216
#         float beta = g - c;
	sub		___219_beta ___217_g ___217_c 	%line{216} %argrw{"wrr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:217
#         float F = (c * (g+c) - 1.0) / (c * beta + 1.0);
	add		$tmp51 ___217_g ___217_c 	%line{217} %argrw{"wrr"}
	mul		$tmp52 ___217_c $tmp51 	%argrw{"wrr"}
	sub		$tmp53 $tmp52 $const7 	%argrw{"wrr"}
	mul		$tmp54 ___217_c ___219_beta 	%argrw{"wrr"}
	add		$tmp55 $tmp54 $const7 	%argrw{"wrr"}
	div		___219_F $tmp53 $tmp55 	%argrw{"wrr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:218
#         F = 0.5 * (1.0 + sqr(F));
	functioncall	$const8 107 	%line{218} %argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:208
#     float sqr(float x) { return x*x; }
	mul		$tmp56 ___219_F ___219_F 	%line{208} %argrw{"wrr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:218
#         F = 0.5 * (1.0 + sqr(F));
	add		$tmp57 $const7 $tmp56 	%line{218} %argrw{"wrr"}
	mul		___219_F $const10 $tmp57 	%argrw{"wrr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:219
#         F *= sqr (beta / (g+c));
	add		$tmp59 ___217_g ___217_c 	%line{219} %argrw{"wrr"}
	div		$tmp60 ___219_beta $tmp59 	%argrw{"wrr"}
	functioncall	$const8 113 	%argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:208
#     float sqr(float x) { return x*x; }
	mul		$tmp58 $tmp60 $tmp60 	%line{208} %argrw{"wrr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:219
#         F *= sqr (beta / (g+c));
	mul		___219_F ___219_F $tmp58 	%line{219} %argrw{"wrr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:220
#         Kr = F;
	assign		Ktr ___219_F 	%line{220} %argrw{"wr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:221
#         Kt = (1.0 - Kr) * eta*eta;
	sub		$tmp61 $const7 Ktr 	%line{221} %argrw{"wrr"}
	mul		$tmp62 $tmp61 $tmp41 	%argrw{"wrr"}
	mul		Ktt $tmp62 $tmp41 	%argrw{"wrr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:224
#         T = refract(I, N, eta);
	functioncall	$const11 135 	%line{224} %argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:200
#     float IdotN = dot (I, N);
	dot		___216_IdotN T N2 	%line{200} %argrw{"wrr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:201
#     float k = 1 - eta*eta * (1 - IdotN*IdotN);
	mul		$tmp63 $tmp41 $tmp41 	%line{201} %argrw{"wrr"}
	mul		$tmp64 ___216_IdotN ___216_IdotN 	%argrw{"wrr"}
	sub		$tmp65 $const7 $tmp64 	%argrw{"wrr"}
	mul		$tmp66 $tmp63 $tmp65 	%argrw{"wrr"}
	sub		___216_k $const7 $tmp66 	%argrw{"wrr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:202
#     return (k < 0) ? vector(0,0,0) : (eta*I - N * (eta*IdotN + sqrt(k)));
	lt		$tmp67 ___216_k $const2 	%line{202} %argrw{"wrr"}
	if		$tmp67 128 134 	%argrw{"r"}
	assign		Tray $const13 	%argrw{"wr"}
	mul		$tmp68 $tmp41 T 	%argrw{"wrr"}
	mul		$tmp69 $tmp41 ___216_IdotN 	%argrw{"wrr"}
	sqrt		$tmp70 ___216_k 	%argrw{"wr"}
	add		$tmp71 $tmp69 $tmp70 	%argrw{"wrr"}
	mul		$tmp72 N2 $tmp71 	%argrw{"wrr"}
	sub		Tray $tmp68 $tmp72 	%argrw{"wrr"}
	return
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:227
#         Kr = 1.0;
	assign		Ktr $const7 	%line{227} %argrw{"wr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:228
#         Kt = 0.0;
	assign		Ktt $const9 	%line{228} %argrw{"wr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:229
#         T = vector (0,0,0);
	assign		Tray $const13 	%line{229} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\glassbal.osl:33
#     Tray = transform("world", Tray);
	functioncall	$const15 140 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\glassbal.osl"} %line{33} %argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:248
#         g = sqrt (g);
	transformv	Rray $const16 $const14 Rray 	%filename{"D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h"} %line{248} %argrw{"wrrr"}
# D:\\xrt.git\\src\\osl\\shaders\\glassbal.osl:34
# 
	functioncall	$const15 142 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\glassbal.osl"} %line{34} %argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:248
#     if (g >= 0.0) {
	transformv	Tray $const16 $const14 Tray 	%filename{"D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h"} %line{248} %argrw{"wrrr"}
# D:\\xrt.git\\src\\osl\\shaders\\glassbal.osl:37
#     C = Cs*(Ka*ambient() + Kd*diffuse(Nf)) +
	assign		Cs C 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\glassbal.osl"} %line{37} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\glassbal.osl:38
#    		specularcolor*Ks*specular(Nf,V,roughness);
	ambient		$tmp73 	%line{38} %argrw{"w"}
	mul		$tmp74 Ka $tmp73 	%argrw{"wrr"}
	functioncall	$const17 162 	%argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:501
#     displace (space, amp, 1);
	assign		___278_C $const2 	%filename{"D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h"} %line{501} %argrw{"wr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:503
# 
	for		$tmp76 149 150 161 161 	%line{503} %argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:507
# 
	lights_begin	P Nf $const18 	%line{507} %argrw{"rrr"}
	lights		$tmp76 P Nf $const18 	%argrw{"wrrr"} %argderivs{1}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:504
# 		float __nondiffuse = 0;
	assign		___279___nondiffuse $const2 	%line{504} %argrw{"wr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:505
# 		getmessage ("light", "__nondiffuse", __nondiffuse);
	getmessage	$tmp77 $const19 $const20 ___279___nondiffuse 	%line{505} %argrw{"wrrw"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:506
# 		C += Cl * (1-__nondiffuse) * max (0, dot (N, normalize (L)));
	sub		$tmp78 $const7 ___279___nondiffuse 	%line{506} %argrw{"wrr"}
	mul		$tmp79 Cl $tmp78 	%argrw{"wrr"}
	assign		$tmp81 $const9 	%argrw{"wr"}
	normalize	$tmp83 L 	%argrw{"wr"}
	dot		$tmp82 Nf $tmp83 	%argrw{"wrr"}
	assign		$tmp84 $tmp82 	%argrw{"wr"}
	max		$tmp80 $tmp81 $tmp84 	%argrw{"wrr"}
	mul		$tmp85 $tmp79 $tmp80 	%argrw{"wrr"}
	add		___278_C ___278_C $tmp85 	%argrw{"wrr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:508
# 	return C;
	assign		$tmp75 ___278_C 	%line{508} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\glassbal.osl:38
#    		specularcolor*Ks*specular(Nf,V,roughness);
	mul		$tmp86 Kd $tmp75 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\glassbal.osl"} %line{38} %argrw{"wrr"}
	add		$tmp87 $tmp74 $tmp86 	%argrw{"wrr"}
	mul		$tmp88 Cs $tmp87 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\glassbal.osl:39
#     if (envname != "") {
	mul		$tmp89 specularcolor Ks 	%line{39} %argrw{"wrr"}
	functioncall	$const21 187 	%argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:527
#     return concat(concat(a,b,c,d), e);
	assign		___281_C $const2 	%filename{"D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h"} %line{527} %argrw{"wr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:529
# string concat (string a, string b, string c, string d, string e, string f) {
	for		$tmp91 170 171 186 186 	%line{529} %argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:533
# 
	lights_begin	P Nf $const18 	%line{533} %argrw{"rrr"}
	lights		$tmp91 P Nf $const18 	%argrw{"wrrr"} %argderivs{1}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:530
# 		float __nonspecular = 0;
	assign		___282___nonspecular $const2 	%line{530} %argrw{"wr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:531
# 		getmessage ("light", "__nonspecular", __nonspecular);
	getmessage	$tmp92 $const19 $const22 ___282___nonspecular 	%line{531} %argrw{"wrrw"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:532
# 		C += Cl * (1-__nonspecular) * specularbrdf (normalize (L), N, V, roughness);
	sub		$tmp93 $const7 ___282___nonspecular 	%line{532} %argrw{"wrr"}
	mul		$tmp94 Cl $tmp93 	%argrw{"wrr"}
	normalize	$tmp96 L 	%argrw{"wr"}
	functioncall	$const23 184 	%argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:511
# 	vector H = normalize( L + V );
	add		$tmp97 $tmp96 V 	%line{511} %argrw{"wrr"}
	normalize	___280_H $tmp97 	%argrw{"wr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:512
# 	return pow (max (0, dot (N, H)), 8 / roughness);
	dot		$tmp100 Nf ___280_H 	%line{512} %argrw{"wrr"}
	max		$tmp99 $const9 $tmp100 	%argrw{"wrr"}
	div		$tmp101 $const25 roughness 	%argrw{"wrr"}
	pow		$tmp98 $tmp99 $tmp101 	%argrw{"wrr"}
	assign		$tmp95 $tmp98 	%argrw{"wr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:532
# 		C += Cl * (1-__nonspecular) * specularbrdf (normalize (L), N, V, roughness);
	mul		$tmp102 $tmp94 $tmp95 	%line{532} %argrw{"wrr"}
	add		___281_C ___281_C $tmp102 	%argrw{"wrr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:534
# 	return C;
	assign		$tmp90 ___281_C 	%line{534} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\glassbal.osl:39
#     if (envname != "") {
	mul		$tmp103 $tmp89 $tmp90 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\glassbal.osl"} %line{39} %argrw{"wrr"}
	add		C $tmp88 $tmp103 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\glassbal.osl:40
# 	    C += Kr * Environment(envname,Rray, "", 0, 1, Kr)
	neq		$tmp104 envname $const26 	%line{40} %argrw{"wrr"}
	if		$tmp104 252 252 	%argrw{"r"}
# D:\\xrt.git\\src\\osl\\shaders\\glassbal.osl:41
# 		+ min(Kt*Ktt, 1) * Cs * Environment(envname,Tray, "", 0, 1, min(Kt*Ktt, 1));
	functioncall	$const27 216 	%line{41} %argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\material.h:205
# 
	neq		$tmp106 envname $const26 	%filename{"D:/xrt.git\\src\\osl\\shaders\\material.h"} %line{205} %argrw{"wrr"}
	if		$tmp106 197 197 	%argrw{"r"}
	gt		$tmp107 Kr $const2 	%argrw{"wrr"}
	neq		$tmp108 $tmp107 $const2 	%argrw{"wrr"}
	assign		$tmp106 $tmp108 	%argrw{"wr"}
	if		$tmp106 214 215 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\material.h:206
# 
	eq		$tmp109 $const26 $const28 	%line{206} %argrw{"wrr"}
	if		$tmp109 205 214 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\material.h:208
# {
	functioncall	$const15 202 	%line{208} %argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:249
# #define M_E        2.7182818284590452        /* e (Euler's number) */
	transform	___304_Pndc $const16 $const28 P 	%filename{"D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h"} %line{249} %argrw{"wrrr"}
# D:/xrt.git\\src\\osl\\shaders\\material.h:209
#             C = texture (envname, Pndc[0], Pndc[1], "blur", blur);
	compref		$tmp110 ___304_Pndc $const2 	%filename{"D:/xrt.git\\src\\osl\\shaders\\material.h"} %line{209} %argrw{"wrr"}
	compref		$tmp111 ___304_Pndc $const12 	%argrw{"wrr"}
	texture		___302_C envname $tmp110 $tmp111 $const29 $const9 	%argrw{"wrrrrr"} %argderivs{2,3}
# D:/xrt.git\\src\\osl\\shaders\\material.h:211
# 			if (istexture (envname)) {
	functioncall	$const30 208 	%line{211} %argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\material.h:169
# 	gettextureinfo (envname, "exists", status);
	gettextureinfo	$tmp113 envname $const31 ___301_status 	%line{169} %argrw{"wrrw"}
# D:/xrt.git\\src\\osl\\shaders\\material.h:170
# 	return status;
	assign		$tmp112 ___301_status 	%line{170} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\material.h:211
# 			if (istexture (envname)) {
	if		$tmp112 212 214 	%line{211} %argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\material.h:213
#                 vector D = transform (envspace, R);
	functioncall	$const15 211 	%line{213} %argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:248
# #define M_PI_2     1.5707963267948966        /* pi/2 */
	transformv	___306_D $const16 $const26 Rray 	%filename{"D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h"} %line{248} %argrw{"wrrr"}
# D:/xrt.git\\src\\osl\\shaders\\material.h:214
#                 C = environment (envname, R, "blur", blur);
	environment	___302_C envname Rray $const29 $const9 	%filename{"D:/xrt.git\\src\\osl\\shaders\\material.h"} %line{214} %argrw{"wrrrr"} %argderivs{2}
# D:/xrt.git\\src\\osl\\shaders\\material.h:217
#                 C = trace (P, R, "blur", blur, "samples", (int)samples,
	assign		$tmp114 $const7 	%line{217} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\material.h:218
#                              "traceset", envname);
	trace		___302_C P Rray $const29 $const9 $const32 $tmp114 $const33 envname 	%line{218} %argrw{"wrrrrrrrr"} %argderivs{1,2}
# D:/xrt.git\\src\\osl\\shaders\\material.h:222
#     else C = 0;
	assign		___302_C $const2 	%line{222} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\material.h:223
#     return C;
	assign		$tmp105 ___302_C 	%line{223} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\glassbal.osl:41
# 		+ min(Kt*Ktt, 1) * Cs * Environment(envname,Tray, "", 0, 1, min(Kt*Ktt, 1));
	mul		$tmp115 Kr $tmp105 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\glassbal.osl"} %line{41} %argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\glassbal.osl:42
#     }
	mul		$tmp117 Kt Ktt 	%line{42} %argrw{"wrr"}
	assign		$tmp118 $tmp117 	%argrw{"wr"}
	assign		$tmp119 $const7 	%argrw{"wr"}
	min		$tmp116 $tmp118 $tmp119 	%argrw{"wrr"}
	mul		$tmp120 $tmp116 Cs 	%argrw{"wrr"}
	mul		$tmp123 Kt Ktt 	%argrw{"wrr"}
	min		$tmp122 $tmp123 $const7 	%argrw{"wrr"}
	functioncall	$const27 249 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\material.h:205
# 
	neq		$tmp124 envname $const26 	%filename{"D:/xrt.git\\src\\osl\\shaders\\material.h"} %line{205} %argrw{"wrr"}
	if		$tmp124 230 230 	%argrw{"r"}
	gt		$tmp125 $tmp122 $const2 	%argrw{"wrr"}
	neq		$tmp126 $tmp125 $const2 	%argrw{"wrr"}
	assign		$tmp124 $tmp126 	%argrw{"wr"}
	if		$tmp124 247 248 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\material.h:206
# 
	eq		$tmp127 $const26 $const28 	%line{206} %argrw{"wrr"}
	if		$tmp127 238 247 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\material.h:208
# int istexture(string envname)
	functioncall	$const15 235 	%line{208} %argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:249
# #define M_E        2.7182818284590452        /* e (Euler's number) */
	transform	___304_Pndc $const16 $const28 P 	%filename{"D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h"} %line{249} %argrw{"wrrr"}
# D:/xrt.git\\src\\osl\\shaders\\material.h:209
#             C = texture (envname, Pndc[0], Pndc[1], "blur", blur);
	compref		$tmp128 ___304_Pndc $const2 	%filename{"D:/xrt.git\\src\\osl\\shaders\\material.h"} %line{209} %argrw{"wrr"}
	compref		$tmp129 ___304_Pndc $const12 	%argrw{"wrr"}
	texture		___302_C envname $tmp128 $tmp129 $const29 $const9 	%argrw{"wrrrrr"} %argderivs{2,3}
# D:/xrt.git\\src\\osl\\shaders\\material.h:211
# 			if (istexture (envname)) {
	functioncall	$const30 241 	%line{211} %argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\material.h:169
# 	gettextureinfo (envname, "exists", status);
	gettextureinfo	$tmp131 envname $const31 ___301_status 	%line{169} %argrw{"wrrw"}
# D:/xrt.git\\src\\osl\\shaders\\material.h:170
# 	return status;
	assign		$tmp130 ___301_status 	%line{170} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\material.h:211
# 			if (istexture (envname)) {
	if		$tmp130 245 247 	%line{211} %argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\material.h:213
#                 vector D = transform (envspace, R);
	functioncall	$const15 244 	%line{213} %argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:248
# #define M_PI_2     1.5707963267948966        /* pi/2 */
	transformv	___306_D $const16 $const26 Tray 	%filename{"D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h"} %line{248} %argrw{"wrrr"}
# D:/xrt.git\\src\\osl\\shaders\\material.h:214
#                 C = environment (envname, R, "blur", blur);
	environment	___302_C envname Tray $const29 $const9 	%filename{"D:/xrt.git\\src\\osl\\shaders\\material.h"} %line{214} %argrw{"wrrrr"} %argderivs{2}
# D:/xrt.git\\src\\osl\\shaders\\material.h:217
#                 C = trace (P, R, "blur", blur, "samples", (int)samples,
	assign		$tmp132 $const7 	%line{217} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\material.h:218
#                              "traceset", envname);
	trace		___302_C P Tray $const29 $const9 $const32 $tmp132 $const33 envname 	%line{218} %argrw{"wrrrrrrrr"} %argderivs{1,2}
# D:/xrt.git\\src\\osl\\shaders\\material.h:222
#     else C = 0;
	assign		___302_C $const2 	%line{222} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\material.h:223
#     return C;
	assign		$tmp121 ___302_C 	%line{223} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\glassbal.osl:42
#     }
	mul		$tmp133 $tmp120 $tmp121 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\glassbal.osl"} %line{42} %argrw{"wrr"}
	add		$tmp134 $tmp115 $tmp133 	%argrw{"wrr"}
	add		C C $tmp134 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\glassbal.osl:44
# }
	mul		C C opacity 	%line{44} %argrw{"wrr"}
	end
