!!ARBvp1.0
# cgc version 3.0.0016, build date Feb 10 2011
# command line args: -profile arbvp1 -quiet
#vendor NVIDIA Corporation
#version 3.0.0.16
#profile arbvp1
#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 : POSITION : 0 : 1
#var float3 normal : $vin.NORMAL : NORMAL : 1 : 1
#var float4 texCoord : $vin.TEXCOORD0 : TEXCOORD0 : 2 : 1
#var float4x4 modelView :  : c[1], 4 : 3 : 1
#var float4x4 modelViewProj :  : c[5], 4 : 4 : 1
#var float3 worldOriginInView :  : c[13] : 5 : 1
#var float4x4 textureMatrix :  : c[9], 4 : 6 : 1
#var float4 cameraToSunDirAndExposure :  : c[14] : 7 : 1
#var float3 lightDirectionInModel :  : c[15] : 8 : 1
#var float4 atmosphereCustomState :  : c[16] : 9 : 1
#var float4 cameraLightInfo :  : c[17] : 10 : 1
#var float4 startupConsts :  : c[18] : 11 : 1
#var float4 sunsetAmbientAndFogDensity :  : c[19] : 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[0] = 2.718282 2 1.0540187 4
#const c[20] = 0 0.5 1.0266541 1
#const c[21] = 250.11763 5.25 -6.8000002 3.8299999
#const c[22] = 0.45899999 -0.00287 0.15000001 37.517647
#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
PARAM c[27] = { { 2.718282, 2, 1.0540187, 4 },
		program.local[1..19],
		{ 0, 0.5, 1.0266541, 1 },
		{ 250.11763, 5.25, -6.8000002, 3.8299999 },
		{ 0.45899999, -0.00287, 0.15000001, 37.517647 },
		{ 0.1885598, 0.31017837, 0.6296947, 3 },
		{ 0.37512779, 0.61708021, 1.2527376 },
		{ 0.5, 0.80000001, 0.12, 0.15000001 },
		{ 0.30000001, 0.58999997, 0.11 } };
TEMP R0;
TEMP R1;
TEMP R2;
TEMP R3;
MOV R1.w, c[0].z;
ADD R2.x, -R1.w, c[17].w;
DP4 R1.z, vertex.position, c[3];
DP4 R1.x, vertex.position, c[1];
DP4 R1.y, vertex.position, c[2];
DP3 R0.x, R1, R1;
RSQ R0.w, R0.x;
MUL R0.xyz, R0.w, R1;
DP3 R1.w, R0, -c[13];
ADD R1.xyz, R1, -c[13];
MUL R1.w, R1, c[0].y;
MUL R2.x, R2, c[0].w;
MAD R2.x, R1.w, R1.w, -R2;
MAX R2.x, R2, c[20];
RSQ R2.x, R2.x;
RCP R2.x, R2.x;
ADD R1.w, -R1, -R2.x;
MUL R2.x, R1.w, c[20].y;
MOV R1.w, c[20].z;
SGE R1.w, c[17].x, R1;
RCP R0.w, R0.w;
MAD R0.w, -R2.x, R1, R0;
MUL R2.xyz, R0, R2.x;
MUL R2.w, R0, c[20].y;
MAD R3.xyz, R1.w, R2, -c[13];
MUL R2.xyz, R0, R2.w;
MAD R3.xyz, R2, c[20].y, R3;
DP3 R1.w, R3, R3;
ADD R2.xyz, R3, R2;
DP3 R2.x, R2, R2;
DP3 R3.w, R1, R1;
RSQ R3.x, R3.w;
MUL R1.xyz, R3.x, R1;
DP3 R0.x, -R0, R1;
MAX R0.y, R0.x, c[20].x;
RSQ R2.x, R2.x;
RCP R0.z, R2.x;
RSQ R1.w, R1.w;
RCP R1.w, R1.w;
ADD R1.w, -R1, c[20];
MUL R1.w, R1, c[21].x;
MUL R0.w, R0, c[19];
MUL R0.w, R0, R0;
ADD R3.x, -R0.y, c[20].w;
DP3 R3.y, R1, c[14];
ADD R0.x, -R0.z, c[20].w;
MAD R0.z, R3.x, c[21].y, c[21];
MAD R1.x, R3, R0.z, c[21].w;
ADD R0.y, -R3, c[20].w;
MAD R0.z, R0.y, c[21].y, c[21];
MAD R0.z, R0.y, R0, c[21].w;
MAD R0.z, R0.y, R0, c[22].x;
MAD R0.y, R0, R0.z, c[22];
MAD R1.x, R3, R1, c[22];
MAD R1.x, R3, R1, c[22].y;
POW R1.x, c[0].x, R1.x;
MUL R0.z, R1.x, c[22];
MUL R1.x, R0, c[21];
POW R0.y, c[0].x, R0.y;
MAD R0.y, R0, c[22].z, R0.z;
POW R1.w, c[0].x, R1.w;
MUL R0.x, R0.z, c[18];
POW R2.x, c[0].x, R1.x;
MAD R0.z, R0.y, R2.x, -R0.x;
MUL R1.xyz, -R0.z, c[23];
MAD R0.x, R1.w, R0.y, -R0;
MUL R0.xyz, -R0.x, c[23];
MUL R2.w, R2, c[22];
MUL R2.x, R2.w, R2;
MUL R2.w, R1, R2;
ABS R1.w, c[16].x;
POW R1.x, c[0].x, R1.x;
POW R1.y, c[0].x, R1.y;
POW R1.z, c[0].x, R1.z;
MUL R2.xyz, R1, R2.x;
SGE R1.w, c[20].x, R1;
POW R0.x, c[0].x, R0.x;
POW R0.y, c[0].x, R0.y;
POW R0.z, c[0].x, R0.z;
MAD R0.xyz, R0, R2.w, R2;
ABS R2.x, R1.w;
DP3 R2.y, R1, c[26];
DP3 R1.w, vertex.normal, c[15];
MAD R2.z, -R2.y, R2.y, c[20].w;
SGE R2.x, c[20], R2;
ADD R1.w, -R3.y, R1;
MAD R1.w, R1, R2.x, R3.y;
MUL R2.x, R1.w, c[23].w;
MIN R2.y, R2.x, c[20].w;
POW R1.w, R3.x, c[18].y;
MUL R2.x, R1.w, c[18].z;
MAX R1.w, R2.y, c[20].x;
ADD R2.y, -R1.w, R2.z;
MUL R0.xyz, R0, R2.x;
MAD R2.z, -R3.x, R3.x, c[20].w;
ADD R2.x, R2.y, c[20].w;
MUL R0.xyz, R0, c[24];
MUL R2.x, R2.z, R2;
MUL R2.xy, R2.x, c[25].zwzw;
MIN result.texcoord[0].xyz, R0, c[25].xxyw;
ADD R0.xyz, R2.xxyw, c[19];
MAD R1.xyz, R2.z, c[17].y, R1;
MAD R0.xyz, R1, R1.w, R0;
MIN R0.xyz, R0, c[20].w;
MAX result.texcoord[1].xyz, R0, c[20].x;
DP4 R0.z, vertex.texcoord[0], c[12];
DP4 R0.x, vertex.texcoord[0], c[9];
DP4 R0.y, vertex.texcoord[0], c[10];
POW result.texcoord[2].w, c[0].x, -R0.w;
MOV result.texcoord[2].xyz, R0;
DP4 result.position.w, vertex.position, c[8];
DP4 result.position.z, vertex.position, c[7];
DP4 result.position.y, vertex.position, c[6];
DP4 result.position.x, vertex.position, c[5];
END
# 114 instructions, 4 R-regs
