vs_2_0
// cgc version 2.2.0006, build date Mar 31 2009
// command line args: -profile vs_2_0 -quiet
//vendor NVIDIA Corporation
//version 2.2.0.6
//profile vs_2_0
//program vmain
//semantic vmain.modelView
//semantic vmain.modelViewProj
//semantic vmain.worldOriginInView
//semantic vmain.textureMatrix
//semantic vmain.cameraToSunDirAndExposure
//semantic vmain.lightDirectionInModel
//semantic vmain.atmosphereCustomState
//semantic vmain.cameraLightInfo
//semantic vmain.startupConsts
//semantic vmain.sunsetAmbientAndFogDensity
//var float4 position : $vin.POSITION0 : ATTR0 : 0 : 1
//var float3 normal : $vin.NORMAL0 : ATTR1 : 1 : 1
//var float4 texCoord : $vin.TEXCOORD0 : ATTR2 : 2 : 1
//var float4x4 modelView :  : c[0], 4 : 3 : 1
//var float4x4 modelViewProj :  : c[4], 4 : 4 : 1
//var float3 worldOriginInView :  : c[12] : 5 : 1
//var float4x4 textureMatrix :  : c[8], 4 : 6 : 1
//var float4 cameraToSunDirAndExposure :  : c[13] : 7 : 1
//var float3 lightDirectionInModel :  : c[14] : 8 : 1
//var float4 atmosphereCustomState :  : c[15] : 9 : 1
//var float4 cameraLightInfo :  : c[16] : 10 : 1
//var float4 startupConsts :  : c[17] : 11 : 1
//var float4 sunsetAmbientAndFogDensity :  : c[18] : 12 : 1
//var float4 vmain.pos : $vout.POSITION : HPOS : -1 : 1
//var float3 vmain.rayleigh : $vout.TEXCOORD0 : TEX0 : -1 : 1
//var float3 vmain.adjustedMie : $vout.TEXCOORD1 : TEX1 : -1 : 1
//var float4 vmain.texCoordAndFogFactor : $vout.TEXCOORD2 : TEX2 : -1 : 1
//const c[19] = 1.0148096 2 -1.0298386 4
//const c[20] = 0.5 1 0.33333334 225.07909
//const c[21] = 2.718282 5.25 -6.8000002 3.8299999
//const c[22] = 0.45899999 -0.00287 0.30000001 67.523727
//const c[23] = 0.14079465 0.091106199 0.053103056 0
//const c[24] = 0.16806123 0.10875 0.063387096 3
//const c[25] = 0.5 0.80000001 0.12 0.15000001
//const c[26] = 0.30000001 0.58999997 0.11
def c19, 1.01480961, 2.00000000, -1.02983856, 4.00000000
def c20, 0.50000000, 1.00000000, 0.33333334, 225.07908630
def c21, 2.71828198, 5.25000000, -6.80000019, 3.82999992
def c22, 0.45899999, -0.00287000, 0.30000001, 67.52372742
def c23, 0.14079465, 0.09110620, 0.05310306, 0.00000000
def c24, 0.16806123, 0.10875000, 0.06338710, 3.00000000
def c25, 0.50000000, 0.80000001, 0.12000000, 0.15000001
def c26, 0.30000001, 0.58999997, 0.11000000, 0
dcl_position0 v0
dcl_normal0 v1
dcl_texcoord0 v2
mov r0.z, c19.x
sge r0.z, c16.x, r0
max r0.z, -r0, r0
slt r3.w, c23, r0.z
dp4 r3.z, v0, c2
dp4 r3.x, v0, c0
dp4 r3.y, v0, c1
dp3 r0.x, r3, r3
rsq r0.w, r0.x
mul r2.xyz, r0.w, r3
dp3 r0.y, r2, -c12
mov r0.x, c16.w
add r0.x, c19.z, r0
mul r0.y, r0, c19
mul r0.x, r0, c19.w
mad r0.x, r0.y, r0.y, -r0
max r0.x, r0, c23.w
rsq r0.x, r0.x
rcp r0.x, r0.x
add r0.x, -r0.y, -r0
add r0.y, -r3.w, c20
mul r2.w, r0.x, c20.x
rcp r0.z, r0.w
mul r0.x, r0.z, r0.y
add r0.z, r0, -r2.w
mad r0.w, r3, r0.z, r0.x
mul r1.w, r0, c20.z
mul r1.xyz, r0.y, -c12
mad r0.xyz, r2, r2.w, -c12
mad r0.xyz, r3.w, r0, r1
mul r1.xyz, r2, r1.w
mad r0.xyz, r1, c20.x, r0
add r4.xyz, r0, r1
dp3 r0.x, r0, r0
add r1.xyz, r4, r1
dp3 r2.w, r4, r4
dp3 r0.y, r1, r1
add r3.xyz, r3, -c12
dp3 r3.w, r3, r3
rsq r3.w, r3.w
mul r3.xyz, r3.w, r3
dp3 r2.x, -r2, r3
max r4.w, r2.x, c23
rsq r2.w, r2.w
rcp r2.w, r2.w
add r2.w, -r2, c20.y
mul r3.w, r2, c20
pow r2, c21.x, r3.w
add r4.w, -r4, c20.y
dp3 r2.w, r3, c13
add r5.x, -r2.w, c20.y
mad r2.z, r5.x, c21.y, c21
mad r2.z, r5.x, r2, c21.w
mad r2.y, r4.w, c21, c21.z
mad r2.y, r4.w, r2, c21.w
mad r2.y, r4.w, r2, c22.x
mad r2.y, r4.w, r2, c22
pow r3, c21.x, r2.y
mad r2.z, r5.x, r2, c22.x
mad r2.y, r5.x, r2.z, c22
pow r5, c21.x, r2.y
mov r2.y, r3.x
mul r2.y, r2, c22.z
mov r2.z, r5.x
rsq r0.x, r0.x
rsq r0.y, r0.y
rcp r0.x, r0.x
rcp r0.y, r0.y
add r0.x, -r0, c20.y
add r0.y, -r0, c20
mad r6.x, r2.z, c22.z, r2.y
mul r6.y, r2, c17.x
mov r6.z, r2.x
mad r2.x, r6, r6.z, -r6.y
mul r2.xyz, -r2.x, c23
pow r3, c21.x, r2.x
pow r5, c21.x, r2.y
mov r2.x, r3
pow r3, c21.x, r2.z
mul r1.w, r1, c22
mul r3.x, r1.w, r6.z
mov r2.y, r5
mov r2.z, r3
mul r0.y, r0, c20.w
pow r5, c21.x, r0.y
mov r4.x, r5
mad r1.x, r4, r6, -r6.y
mul r1.xyz, -r1.x, c23
pow r5, c21.x, r1.x
mul r2.xyz, r2, r3.x
mul r0.x, r0, c20.w
pow r3, c21.x, r0.x
mov r4.y, r3.x
mul r1.x, r1.w, r4.y
mad r0.x, r6, r4.y, -r6.y
mul r0.xyz, -r0.x, c23
pow r3, c21.x, r0.x
mov r0.x, r3
pow r3, c21.x, r0.y
pow r6, c21.x, r0.z
mov r0.y, r3
pow r3, c21.x, r1.y
mov r1.y, r3
mov r0.z, r6
mad r0.xyz, r0, r1.x, r2
mov r1.x, r5
pow r5, c21.x, r1.z
pow r3, r4.w, c17.y
mov r2.x, c23.w
mov r1.z, r5
mul r1.w, r4.x, r1
mad r0.xyz, r1, r1.w, r0
mov r1.w, c15.x
sge r2.x, c15, r2
sge r1.w, c23, r1
mul r1.w, r2.x, r1
max r1.w, -r1, r1
slt r2.y, c23.w, r1.w
mov r2.x, r3
mul r2.z, r2.x, c17
mul r0.xyz, r0, r2.z
mul r0.xyz, r0, c24
min oT0.xyz, r0, c25.xxyw
add r2.x, -r2.y, c20.y
dp3 r1.w, v1, c14
mul r1.w, r2.x, r1
mad r1.w, r2, r2.y, r1
mul r2.x, r1.w, c24.w
dp3 r1.w, r1, c26
min r2.x, r2, c20.y
max r2.w, r2.x, c23
mad r1.w, -r1, r1, c20.y
add r1.w, -r2, r1
add r0.x, r1.w, c20.y
mad r0.y, -r4.w, r4.w, c20
mul r1.w, r0.y, r0.x
mad r0.xyz, r0.y, c16.y, r1
mul r1.xy, r1.w, c25.zwzw
add r2.xyz, r1.xxyw, c18
mul r0.w, r0, c18
mad r2.xyz, r0, r2.w, r2
mul r1.x, r0.w, r0.w
pow r0, c21.x, -r1.x
min r0.xyz, r2, c20.y
max oT1.xyz, r0, c23.w
dp4 r0.z, v2, c11
dp4 r0.x, v2, c8
dp4 r0.y, v2, c9
mov oT2.w, r0
mov oT2.xyz, r0
dp4 oPos.w, v0, c7
dp4 oPos.z, v0, c6
dp4 oPos.y, v0, c5
dp4 oPos.x, v0, c4
