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.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.POSITION : ATTR0 : 0 : 1
//var float3 normal : $vin.NORMAL : 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.0266541 2 -1.0540187 4
//const c[20] = 0.5 1 250.11763 2.718282
//const c[21] = 5.25 -6.8000002 3.8299999 0.45899999
//const c[22] = -0.00287 0.15000001 37.517647 0
//const c[23] = 0.1885598 0.31017837 0.6296947 3
//const c[24] = 0.37512779 0.61708021 1.2527376
//const c[25] = 0.5 0.80000001 0.12 0.15000001
//const c[26] = 0.30000001 0.58999997 0.11
def c19, 1.02665412, 2.00000000, -1.05401874, 4.00000000
def c20, 0.50000000, 1.00000000, 250.11763000, 2.71828198
def c21, 5.25000000, -6.80000019, 3.82999992, 0.45899999
def c22, -0.00287000, 0.15000001, 37.51764679, 0.00000000
def c23, 0.18855980, 0.31017837, 0.62969470, 3.00000000
def c24, 0.37512779, 0.61708021, 1.25273764, 0
def c25, 0.50000000, 0.80000001, 0.12000000, 0.15000001
def c26, 0.30000001, 0.58999997, 0.11000000, 0
dcl_position v0
dcl_normal v1
dcl_texcoord0 v2
mov r0.y, c16.w
add r0.z, c19, r0.y
dp4 r3.z, v0, c2
dp4 r3.x, v0, c0
dp4 r3.y, v0, c1
dp3 r0.x, r3, r3
rsq r0.x, r0.x
mul r1.xyz, r0.x, r3
dp3 r0.y, r1, -c12
mul r0.w, r0.z, c19
mul r0.z, r0.y, c19.y
mad r0.y, r0.z, r0.z, -r0.w
max r0.w, r0.y, c22
mov r0.y, c19.x
rsq r0.w, r0.w
rcp r0.w, r0.w
sge r0.y, c16.x, r0
add r0.z, -r0, -r0.w
max r0.y, -r0, r0
slt r0.w, c22, r0.y
mul r0.y, r0.z, c20.x
add r0.z, -r0.w, c20.y
rcp r0.x, r0.x
mul r1.w, r0.x, r0.z
add r0.x, r0, -r0.y
mad r3.w, r0, r0.x, r1
mul r2.xyz, r0.z, -c12
mad r0.xyz, r1, r0.y, -c12
mad r0.xyz, r0.w, r0, r2
mul r4.w, r3, c20.x
mul r2.xyz, r1, r4.w
mad r0.xyz, r2, c20.x, r0
add r2.xyz, r0, r2
dp3 r0.w, r2, r2
rsq r0.w, r0.w
rcp r0.w, r0.w
add r0.w, -r0, c20.y
mul r0.w, r0, c20.z
pow r2, c20.w, r0.w
dp3 r0.x, r0, r0
rsq r0.w, r0.x
add r0.xyz, r3, -c12
dp3 r1.w, r0, r0
rsq r2.y, r1.w
mul r3.xyz, r2.y, r0
rcp r0.w, r0.w
add r0.w, -r0, c20.y
mul r1.w, r0, c20.z
pow r0, c20.w, r1.w
dp3 r0.y, -r1, r3
max r0.y, r0, c22.w
add r5.x, -r0.y, c20.y
mad r0.y, r5.x, c21.x, c21
mad r0.z, r5.x, r0.y, c21
mad r0.z, r5.x, r0, c21.w
mad r0.z, r5.x, r0, c22.x
pow r1, c20.w, r0.z
mov r5.z, r0.x
dp3 r5.y, r3, c13
add r0.x, -r5.y, c20.y
mad r0.y, r0.x, c21.x, c21
mad r0.y, r0.x, r0, c21.z
mad r0.y, r0.x, r0, c21.w
mad r1.y, r0.x, r0, c22.x
pow r0, c20.w, r1.y
mov r0.y, r1.x
mul r0.y, r0, c22
mul r0.z, r0.y, c17.x
mad r0.x, r0, c22.y, r0.y
mad r0.y, r5.z, r0.x, -r0.z
mov r5.w, r2.x
mul r3.xyz, -r0.y, c23
pow r2, c20.w, r3.x
mad r0.x, r0, r5.w, -r0.z
mul r4.xyz, -r0.x, c23
pow r1, c20.w, r4.x
pow r0, c20.w, r4.y
mov r4.x, r1
pow r1, c20.w, r3.y
mov r4.y, r0
pow r0, c20.w, r4.z
mul r4.w, r4, c22.z
mov r4.z, r0
mul r0.x, r4.w, r5.w
mul r2.yzw, r4.xxyz, r0.x
pow r0, c20.w, r3.z
mov r3.z, r0
pow r0, r5.x, c17.y
mov r0.z, c15.x
mov r0.y, c22.w
sge r0.z, c22.w, r0
sge r0.y, c15.x, r0
mul r0.y, r0, r0.z
max r0.y, -r0, r0
slt r0.w, c22, r0.y
add r0.y, -r0.w, c20
dp3 r0.z, v1, c14
mul r1.w, r0.y, r0.z
mad r0.w, r5.y, r0, r1
mul r0.w, r0, c23
min r0.w, r0, c20.y
mul r1.w, r3, c18
max r0.w, r0, c22
mov r3.x, r2
mov r3.y, r1
mul r1.x, r5.z, r4.w
mad r1.xyz, r3, r1.x, r2.yzww
mul r0.x, r0, c17.z
mul r0.xyz, r1, r0.x
mul r0.xyz, r0, c24
min oT0.xyz, r0, c25.xxyw
dp3 r1.x, r4, c26
mad r1.x, -r1, r1, c20.y
add r1.x, -r0.w, r1
add r0.y, r1.x, c20
mad r0.x, -r5, r5, c20.y
mul r1.x, r0, r0.y
mul r1.xy, r1.x, c25.zwzw
mad r0.xyz, r0.x, c16.y, r4
add r1.xyz, r1.xxyw, c18
mad r1.xyz, r0, r0.w, r1
mul r1.w, r1, r1
pow r0, c20.w, -r1.w
min r0.xyz, r1, c20.y
max oT1.xyz, r0, c22.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
