!!ARBfp1.0
# cgc version 1.3.0001, build date Jan  7 2005 14:01:35
# command line args: -profile arbfp1
# source file: D:\jean9\Ohjelmointi\demot\fahrenheit\data\shaders\layoutshader.cg
#vendor NVIDIA Corporation
#version 1.0.02
#profile arbfp1
#program main
#semantic main.tex : S0
#semantic main.effect : C0
#semantic main.twist : C1
#var float2 pos : $vin.TEX0 : TEX0 : 0 : 1
#var float4 color : $vin.COL0 : COL0 : 1 : 0
#var sampler2D tex : S0 : texunit 0 : 2 : 1
#var float effect : C0 : c[0] : 3 : 1
#var float twist : C1 : c[1] : 4 : 1
#var float4 main.color : $vout.COL : COL : -1 : 1
#var float3 main.depth : $vout.DEPR : DEPR : -1 : 1
#const c[2] = 0.1 5 2 0.2
#const c[3] = 1
PARAM c[4] = { program.local[0..1],
		{ 0.1, 5, 2, 0.2 },
		{ 1 } };
TEMP R0;
TEMP R1;
TEMP R2;
MOV R0.y, c[2].x;
MUL R0.y, c[1].x, R0;
MUL R0.x, fragment.texcoord[0], c[2].y;
ADD R1.x, R0.y, c[0];
SIN R0.x, R0.x;
MUL R1.y, R1.x, R0.x;
ADD R1.zw, fragment.texcoord[0].xyxy, R1.xyxy;
TEX R2, R1.zwzw, texture[0], 2D;
ADD R1.zw, fragment.texcoord[0].xyxy, -R1.xyxy;
TEX R0, fragment.texcoord[0], texture[0], 2D;
ADD R0, R0, R2;
TEX R2, R1.zwzw, texture[0], 2D;
MUL R1.xy, R1, c[2].z;
ADD R1.zw, fragment.texcoord[0].xyxy, R1.xyxy;
ADD R0, R0, R2;
TEX R2, R1.zwzw, texture[0], 2D;
ADD R1.xy, fragment.texcoord[0], -R1;
TEX R1, R1, texture[0], 2D;
ADD R0, R0, R2;
ADD R0, R0, R1;
MUL R0, R0, c[2].w;
ADD R0, R0, c[1].x;
MAD R0, R0, R0, -c[1].x;
ADD result.depth.z, -R0.w, c[3].x;
MOV result.color, R0;
END
# 25 instructions, 3 R-regs
