!!ARBvp1.0
# cgc version 2.1.0016, build date Nov 20 2008
# command line args: -profile arbvp1 -quiet
#vendor NVIDIA Corporation
#version 2.1.0.16
#profile arbvp1
#program vmain
#semantic vmain.projMatrix
#semantic vmain.worldOriginInView
#semantic vmain.cameraToSunDirAndExposure
#semantic vmain.cameraLightInfo
#semantic vmain.startupConsts
#var float3 rayDir : $vin.POSITION : POSITION : 0 : 1
#var float4x4 projMatrix :  : c[1], 4 : 1 : 1
#var float3 worldOriginInView :  : c[5] : 2 : 1
#var float4 cameraToSunDirAndExposure :  : c[6] : 3 : 1
#var float4 cameraLightInfo :  : c[7] : 4 : 1
#var float4 startupConsts :  : c[8] : 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[0] = 1 2.718282 2 1.0540187
#const c[9] = 4 0 0.25 0.5
#const c[10] = 5.25 -6.8000002 3.8299999 0.45899999
#const c[11] = -0.00287 250.11763 0.15000001 37.517647
#const c[12] = 0.1885598 0.31017837 0.6296947
#const c[13] = 0.35012779 0.59208024 1.2277377
PARAM c[14] = { { 1, 2.718282, 2, 1.0540187 },
		program.local[1..8],
		{ 4, 0, 0.25, 0.5 },
		{ 5.25, -6.8000002, 3.8299999, 0.45899999 },
		{ -0.00287, 250.11763, 0.15000001, 37.517647 },
		{ 0.1885598, 0.31017837, 0.6296947 },
		{ 0.35012779, 0.59208024, 1.2277377 } };
TEMP R0;
TEMP R1;
TEMP R2;
TEMP R3;
MOV R2.xy, c[0].xwzw;
ADD R0.x, -R2.y, c[7].w;
DP3 R0.w, vertex.position, -c[5];
MUL R0.y, R0.x, c[9].x;
MUL R0.x, R0.w, c[0].z;
MAD R0.y, R0.x, R0.x, -R0;
MAX R0.y, R0, c[9];
RSQ R0.y, R0.y;
RCP R0.y, R0.y;
ADD R0.x, -R0, R0.y;
MUL R1.w, R0.x, c[9].z;
MUL R0.xyz, vertex.position, R1.w;
MUL R1.xyz, R0, c[9].w;
ADD R1.xyz, R1, -c[5];
ADD R0.xyz, R1, R0;
DP3 R2.y, R0, R0;
DP3 R2.z, vertex.position, R0;
RSQ R2.y, R2.y;
DP3 R0.x, R0, c[6];
MAD R0.z, R2.y, -R2, c[0].x;
MAD R0.x, -R0, R2.y, c[0];
MAD R0.y, R0.x, c[10].x, c[10];
MAD R2.z, R0, c[10].x, c[10].y;
MAD R0.y, R0.x, R0, c[10].z;
MAD R0.y, R0.x, R0, c[10].w;
MAD R0.x, R0, R0.y, c[11];
MAD R2.z, R0, R2, c[10];
MAD R2.z, R0, R2, c[10].w;
MAD R0.y, R0.z, R2.z, c[11].x;
POW R0.z, c[0].y, R0.y;
RCP R0.y, c[7].x;
MUL R0.w, R0, R0.y;
RCP R0.y, R2.y;
POW R0.x, c[0].y, R0.x;
ADD R0.x, R0, -R0.z;
ADD R0.z, -R0.w, c[0].x;
MAD R2.y, R0.z, c[10].x, c[10];
ADD R0.y, -R0, c[0].x;
DP3 R2.w, R1, c[6];
MAD R2.y, R0.z, R2, c[10].z;
ADD R2.z, R2.x, -c[7].x;
MAD R2.x, R0.z, R2.y, c[10].w;
MAD R0.z, R0, R2.x, c[11].x;
MUL R2.y, R2.z, c[11];
MUL R0.y, R0, c[11];
POW R2.z, c[0].y, R0.y;
POW R2.x, c[0].y, R2.y;
POW R0.z, c[0].y, R0.z;
MUL R0.z, R0, R2.x;
DP3 R2.x, R1, R1;
RSQ R2.x, R2.x;
MAD R2.w, -R2, R2.x, c[0].x;
DP3 R1.y, vertex.position, R1;
MAD R1.y, R2.x, -R1, c[0].x;
MAD R1.z, R1.y, c[10].x, c[10].y;
MAD R1.z, R1.y, R1, c[10];
MAD R1.z, R1.y, R1, c[10].w;
MAD R1.y, R1, R1.z, c[11].x;
MAD R3.x, R2.w, c[10], c[10].y;
MAD R3.x, R2.w, R3, c[10].z;
MAD R1.x, R2.w, R3, c[10].w;
MAD R1.x, R2.w, R1, c[11];
RCP R2.x, R2.x;
ADD R2.x, -R2, c[0];
MUL R1.z, R2.x, c[11].y;
MUL R2.y, R0.z, c[11].z;
MUL R0.x, R0, R2.z;
MAD R0.x, R0, c[11].z, R2.y;
MUL R0.xyz, -R0.x, c[12];
POW R2.x, c[0].y, R1.z;
POW R1.y, c[0].y, R1.y;
POW R1.x, c[0].y, R1.x;
ADD R1.x, R1, -R1.y;
MUL R1.x, R1, R2;
MAD R1.x, R1, c[11].z, R2.y;
MUL R1.xyz, -R1.x, c[12];
MUL R1.w, R1, c[11];
MUL R2.y, R1.w, R2.z;
POW R1.x, c[0].y, R1.x;
POW R1.y, c[0].y, R1.y;
POW R1.z, c[0].y, R1.z;
MUL R1.w, R2.x, R1;
POW R0.x, c[0].y, R0.x;
POW R0.y, c[0].y, R0.y;
POW R0.z, c[0].y, R0.z;
MUL R0.xyz, R0, R2.y;
MAD R0.xyz, R1, R1.w, R0;
MUL R1.xyz, R0, c[13];
SLT R0.x, c[7].z, -R0.w;
MOV R1.w, c[8];
MAD result.texcoord[0], -R1, R0.x, R1;
MOV R0.w, c[0].x;
MOV R0.xyz, vertex.position;
DP4 result.position.zw, R0, c[4];
DP4 result.position.y, R0, c[2];
DP4 result.position.x, R0, c[1];
MOV result.texcoord[1].xyz, -vertex.position;
MOV result.texcoord[1].w, c[0].x;
END
# 98 instructions, 4 R-regs
