!!ARBvp1.0

# Generated by ATI's Ashli Compiler on 2005-03-27 21:41:04.
# Ashli Version: 1.4.1


# Instructions (Alu):            25
# Registers    (Temp):           4
# Registers    (Constant):       1
# Registers    (OutputPos):      1
# Registers    (OutputColor):    0
# Registers    (OutputTexCoord): 4

PARAM mMV[4] = { state.matrix.modelview };
PARAM mMV_invtrans[4] = { state.matrix.modelview.invtrans };
PARAM mMVP[4] = { state.matrix.mvp };

ATTRIB iPosition = vertex.position;
ATTRIB iNormal = vertex.normal;
ATTRIB iColor0 = vertex.color;
ATTRIB iTex1 = vertex.texcoord[1];

PARAM Const0 = { 0, 0, 0, 0 };

TEMP Temp0;
TEMP Temp1;
TEMP Temp2;
TEMP Temp3;

OUTPUT oPosition = result.position;

OUTPUT oTex0 = result.texcoord;
OUTPUT oTex1 = result.texcoord[1];
OUTPUT oTex2 = result.texcoord[2];
OUTPUT oTex3 = result.texcoord[3];

MOV Temp0, Const0.x;
DP4 Temp0.x, mMV_invtrans[0], iNormal;
DP4 Temp0.y, mMV_invtrans[1], iNormal;
DP4 Temp0.z, mMV_invtrans[2], iNormal;
DP4 Temp0.w, mMV_invtrans[3], iNormal;
MOV Temp1, Const0.x;
DP4 Temp1.x, mMV[0], iPosition;
DP4 Temp1.y, mMV[1], iPosition;
DP4 Temp1.z, mMV[2], iPosition;
DP4 Temp1.w, mMV[3], iPosition;
MOV Temp2, Const0.x;
DP4 Temp2.x, mMV[0], iTex1;
DP4 Temp2.y, mMV[1], iTex1;
DP4 Temp2.z, mMV[2], iTex1;
DP4 Temp2.w, mMV[3], iTex1;
MOV Temp3, Const0.x;
DP4 Temp3.x, mMVP[0], iPosition;
DP4 Temp3.y, mMVP[1], iPosition;
DP4 Temp3.z, mMVP[2], iPosition;
DP4 Temp3.w, mMVP[3], iPosition;
MOV oTex2, Temp0;
MOV oTex1, Temp1;
MOV oTex0, iColor0;
MOV oTex3, Temp2;
MOV oPosition, Temp3;

END