!!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.modelView
#semantic vmain.modelViewProj
#semantic vmain.worldOriginInView
#semantic vmain.textureMatrix
#semantic vmain.dirToCameraAndFogDensity
#semantic vmain.groundSunOffVertexParams
#var float4 position : $vin.POSITION : POSITION : 0 : 1
#var float4 texCoord : $vin.TEXCOORD0 : TEXCOORD0 : 1 : 1
#var float4x4 modelView :  : c[1], 4 : 2 : 1
#var float4x4 modelViewProj :  : c[5], 4 : 3 : 1
#var float3 worldOriginInView :  : c[13] : 4 : 1
#var float4x4 textureMatrix :  : c[9], 4 : 5 : 1
#var float4 dirToCameraAndFogDensity :  : c[14] : 6 : 1
#var float4 groundSunOffVertexParams :  : c[15] : 7 : 1
#var float4 vmain.pos : $vout.POSITION : HPOS : -1 : 1
#var float4 vmain.texCoordAndFogFactor : $vout.TEXCOORD0 : TEX0 : -1 : 1
#var float4 vmain.rayleighT : $vout.TEXCOORD1 : TEX1 : -1 : 1
#const c[0] = 2.718282
PARAM c[16] = { { 2.718282 },
		program.local[1..15] };
TEMP R0;
DP4 R0.z, vertex.position, c[3];
DP4 R0.x, vertex.position, c[1];
DP4 R0.y, vertex.position, c[2];
ADD R0.xyz, R0, -c[13];
DP3 R0.w, R0, R0;
RSQ R0.w, R0.w;
MUL R0.xyz, R0.w, R0;
DP3 R0.x, R0, c[14];
ADD R0.x, R0, c[15];
MUL result.texcoord[1], R0.x, c[15].y;
DP4 R0.x, vertex.texcoord[0], c[9];
DP4 R0.y, vertex.texcoord[0], c[10];
DP4 R0.z, vertex.texcoord[0], c[12];
MOV result.texcoord[0].xyz, R0;
DP4 R0.x, vertex.position, c[8];
DP4 R0.y, vertex.position, c[7];
MIN result.position.z, R0.y, R0.x;
MOV result.position.w, R0.x;
MUL R0.x, R0.y, c[14].w;
MUL R0.x, R0, R0;
DP4 result.position.y, vertex.position, c[6];
DP4 result.position.x, vertex.position, c[5];
POW result.texcoord[0].w, c[0].x, -R0.x;
END
# 23 instructions, 1 R-regs
