!!ARBvp1.0
# cgc version 2.0.0001, build date Jan 22 2007 00:21:19
# command line args: -oglsl -profile arbvp1
# source file: SprayParticles.vs
#vendor NVIDIA Corporation
#version 2.0.0.1
#profile arbvp1
#program main
#semantic gl_ModelViewProjectionMatrix : state.matrix.mvp.transpose
#var float4 gl_Position : $vout.POSITION : HPOS : -1 : 1
#var float4 gl_Vertex : $vin.POSITION : POSITION : -1 : 1
#var float4 gl_MultiTexCoord0 : $vin.TEXCOORD0 : TEXCOORD0 : -1 : 1
#var float4 gl_FrontColor : $vout.COLOR0 : COL0 : -1 : 1
#var float4 gl_BackColor : $vout.BCOL0 : BCOL0 : -1 : 1
#var float4x4 gl_ModelViewProjectionMatrix : state.matrix.mvp.transpose : c[1], 4 : -1 : 1
#var float2 TexCoord : $vout.TEX0 : TEX0 : -1 : 1
#var float Life : $vin.ATTR1 : ATTR1 : -1 : 1
#var float MaxLife : $vin.ATTR2 : ATTR2 : -1 : 1
#var float AlphaMult : $vin.ATTR3 : ATTR3 : -1 : 1
#var float LifeClamp : $vin.ATTR4 : ATTR4 : -1 : 1
#var float Frame : $vin.ATTR5 : ATTR5 : -1 : 1
#var float3 Vstart : $vin.ATTR6 : ATTR6 : -1 : 1
#var float3 HalfAcc : $vin.ATTR7 : ATTR7 : -1 : 1
#const c[0] = 0 1 -0.5 -2
PARAM c[5] = { { 0, 1, -0.5, -2 },
		state.matrix.mvp.transpose };
TEMP R0;
TEMP R1;
TEMP R2;
TEMP R3;
SLT R3.x, c[0], vertex.attrib[1];
MOV R0.x, vertex.attrib[4];
MIN R0.x, vertex.attrib[1], R0;
MUL R1.xyz, R0.x, vertex.attrib[7];
ADD R1.xyz, R1, vertex.attrib[6];
MAD R0.xyz, R0.x, R1, vertex.position;
MUL R1, R0.y, c[2];
MAD R1, R0.x, c[1], R1;
MAX R0.x, R0.z, c[0].z;
MAD R0, R0.x, c[3], R1;
ADD R1, R0, c[4];
RCP R0.w, vertex.attrib[2].x;
MAD R0.w, -vertex.attrib[1].x, R0, c[0].y;
ABS R3.y, R3.x;
ADD R2, -R1, c[0].w;
SGE R3.y, c[0].x, R3;
MAD result.position, R2, R3.y, R1;
MUL R1.xy, vertex.texcoord[0], R3.x;
MOV R1.z, vertex.attrib[5].x;
ADD R1.z, vertex.texcoord[0].x, R1;
ADD R1.z, R1, -R1.x;
MOV R0.xyz, c[0].y;
MUL R0.w, R0, vertex.attrib[3].x;
MUL R0, R3.x, R0;
MOV result.color, R0;
MOV result.color.back, R0;
MAD result.texcoord[0].x, R1.z, R3, R1;
MOV result.texcoord[0].y, R1;
END
# 28 instructions, 4 R-regs
