vs_2_0
// cgc version 2.1.0016, build date Nov 20 2008
// command line args: -profile vs_2_0 -quiet
//vendor NVIDIA Corporation
//version 2.1.0.16
//profile vs_2_0
//program vmain
//semantic vmain.projMatrix
//semantic vmain.worldOriginInView
//semantic vmain.cameraToSunDirAndExposure
//semantic vmain.cameraLightInfo
//semantic vmain.startupConsts
//var float3 rayDir : $vin.POSITION : ATTR0 : 0 : 1
//var float4x4 projMatrix :  : c[0], 4 : 1 : 1
//var float3 worldOriginInView :  : c[4] : 2 : 1
//var float4 cameraToSunDirAndExposure :  : c[5] : 3 : 1
//var float4 cameraLightInfo :  : c[6] : 4 : 1
//var float4 startupConsts :  : c[7] : 5 : 1
//var float4 vmain.pos : $vout.POSITION : HPOS : -1 : 1
//var float4 vmain.rayleighColorAndSkyOpacity : $vout.TEXCOORD0 : TEX0 : -1 : 1
//var float4 vmain.vertToCameraDir : $vout.TEXCOORD1 : TEX1 : -1 : 1
//const c[8] = 1 0 2.718282 2
//const c[9] = -1.0298386 4 0.16666667 0.5
//const c[10] = 5.25 -6.8000002 3.8299999 0.45899999
//const c[11] = -0.00287 225.07909 0.30000001 67.523727
//const c[12] = 0.14079465 0.091106199 0.053103056
//const c[13] = 0.15306123 0.09375 0.048387099
def c8, 1.00000000, 0.00000000, 2.71828198, 2.00000000
def c9, -1.02983856, 4.00000000, 0.16666667, 0.50000000
def c10, 5.25000000, -6.80000019, 3.82999992, 0.45899999
def c11, -0.00287000, 225.07908630, 0.30000001, 67.52372742
def c12, 0.14079465, 0.09110620, 0.05310306, 0
def c13, 0.15306123, 0.09375000, 0.04838710, 0
dcl_position v0
mov r0.x, c6.w
add r0.x, c9, r0
dp3 r2.w, v0, -c4
mul r0.y, r0.x, c9
mul r0.x, r2.w, c8.w
mad r0.y, r0.x, r0.x, -r0
max r0.y, r0, c8
rsq r0.y, r0.y
rcp r0.y, r0.y
add r0.x, -r0, r0.y
mul r1.w, r0.x, c9.z
mul r1.xyz, v0, r1.w
mul r0.xyz, r1, c9.w
add r2.xyz, r0, -c4
add r4.xyz, r2, r1
dp3 r0.x, r4, r4
rsq r4.w, r0.x
dp3 r0.y, v0, r4
mad r0.z, r4.w, -r0.y, c8.x
dp3 r0.x, r4, c5
mad r0.x, -r0, r4.w, c8
mad r0.y, r0.x, c10.x, c10
mad r0.w, r0.z, c10.x, c10.y
mad r0.y, r0.x, r0, c10.z
mad r0.y, r0.x, r0, c10.w
mad r0.w, r0.z, r0, c10.z
mad r0.w, r0.z, r0, c10
mad r0.x, r0, r0.y, c11
pow r3, c8.z, r0.x
mad r5.x, r0.z, r0.w, c11
pow r0, c8.z, r5.x
mov r0.y, r3.x
add r6.x, r0.y, -r0
rcp r0.z, r4.w
add r0.y, -r0.z, c8.x
rcp r0.x, c6.x
add r1.xyz, r4, r1
mul r3.x, r0.y, c11.y
mul r2.w, r2, r0.x
pow r0, c8.z, r3.x
add r0.y, -r2.w, c8.x
mad r0.z, r0.y, c10.x, c10.y
mad r0.z, r0.y, r0, c10
mad r0.z, r0.y, r0, c10.w
mad r0.y, r0, r0.z, c11.x
pow r5, c8.z, r0.y
mov r5.w, r0.x
mov r0.w, c6.x
add r0.w, c8.x, -r0
mul r0.w, r0, c11.y
pow r3, c8.z, r0.w
mov r0.z, r3.x
mov r0.y, r5.x
mul r0.y, r0, r0.z
mul r4.w, r0.y, c11.z
mul r0.x, r6, r5.w
mad r0.x, r0, c11.z, r4.w
mul r5.xyz, -r0.x, c12
pow r3, c8.z, r5.x
pow r0, c8.z, r5.y
mov r0.x, r3
pow r3, c8.z, r5.z
dp3 r3.x, r1, r1
mul r0.w, r1, c11
rsq r4.y, r3.x
mul r1.w, r0, r5
mov r0.z, r3
mul r0.xyz, r0, r1.w
dp3 r1.w, r1, c5
dp3 r1.x, v0, r1
mad r1.z, r4.y, -r1.x, c8.x
mad r1.x, -r1.w, r4.y, c8
mad r1.w, r1.z, c10.x, c10.y
mad r1.y, r1.x, c10.x, c10
mad r1.w, r1.z, r1, c10.z
mad r1.y, r1.x, r1, c10.z
mad r1.w, r1.z, r1, c10
mad r1.y, r1.x, r1, c10.w
mad r3.x, r1.z, r1.w, c11
mad r4.x, r1, r1.y, c11
pow r1, c8.z, r3.x
pow r3, c8.z, r4.x
mov r1.y, r1.x
mov r1.x, r3
add r4.x, r1, -r1.y
dp3 r1.y, r2, r2
rsq r3.x, r1.y
dp3 r1.y, r2, c5
mad r3.z, -r1.y, r3.x, c8.x
rcp r1.x, r4.y
add r1.x, -r1, c8
mul r3.y, r1.x, c11
dp3 r2.x, v0, r2
pow r1, c8.z, r3.y
mad r3.w, r3.z, c10.x, c10.y
mad r1.y, r3.z, r3.w, c10.z
mad r1.y, r3.z, r1, c10.w
mad r3.y, r3.z, r1, c11.x
mov r6.x, r1
pow r1, c8.z, r3.y
mad r1.y, r3.x, -r2.x, c8.x
mad r1.z, r1.y, c10.x, c10.y
mov r2.x, r1
mad r1.x, r1.y, r1.z, c10.z
rcp r1.z, r3.x
mad r1.x, r1.y, r1, c10.w
add r1.z, -r1, c8.x
mad r1.x, r1.y, r1, c11
pow r3, c8.z, r1.x
mul r2.y, r1.z, c11
pow r1, c8.z, r2.y
mov r1.y, r3.x
mov r6.y, r1.x
add r1.x, r2, -r1.y
mul r1.y, r1.x, r6
mul r1.x, r4, r6
mad r1.y, r1, c11.z, r4.w
mul r4.xyz, -r1.y, c12
mad r1.x, r1, c11.z, r4.w
mul r2.xyz, -r1.x, c12
pow r1, c8.z, r4.x
pow r3, c8.z, r2.x
mov r4.x, r1
pow r1, c8.z, r4.y
pow r5, c8.z, r4.z
mov r2.x, r3
pow r3, c8.z, r2.z
mul r1.x, r0.w, r6.y
mov r4.y, r1
mov r4.z, r5
mad r0.xyz, r4, r1.x, r0
pow r1, c8.z, r2.y
mul r1.x, r6, r0.w
slt r0.w, c6.z, -r2
max r0.w, -r0, r0
mov r2.y, r1
mov r2.z, r3
mad r0.xyz, r2, r1.x, r0
slt r1.x, c8.y, r0.w
mul r0.xyz, r0, c13
mov r0.w, c7
add r1.x, -r1, c8
mul oT0, r1.x, r0
mov r0.w, c8.x
mov r0.xyz, v0
dp4 oPos.zw, r0, c3
dp4 oPos.y, r0, c1
dp4 oPos.x, r0, c0
mov oT1.xyz, -v0
mov oT1.w, c8.x
