home *** CD-ROM | disk | FTP | other *** search
- //CGVER3.4
- //
- // Generated by Microsoft (R) D3DX9 Shader Compiler 5.04.00.2904
- //
- // fxc /T ps_2_0 /DCGC=0 /Fc $$out.cg $$in.cg
- //
- //
- // Parameters:
- //
- // float4 $Glare;
- // sampler2D $texScreen01;
- // sampler2D $texScreen02;
- // sampler2D $texScreen03;
- // sampler2D $texScreen04;
- //
- //
- // Registers:
- //
- // Name Reg Size
- // ------------ ----- ----
- // $Glare c0 1
- // $texScreen01 s0 1
- // $texScreen02 s1 1
- // $texScreen03 s2 1
- // $texScreen04 s3 1
- //
-
- ps_2_0
- def c1, 0.25, 4, 0, 0
- def c2, 0.300000012, 0.589999974, 0.109999999, 0
- dcl t0.xy
- dcl t1.xy
- dcl t2.xy
- dcl t3.xy
- dcl_2d s0
- dcl_2d s1
- dcl_2d s2
- dcl_2d s3
- texld r3, t1, s1
- texld r2, t0, s0
- texld r1, t2, s2
- texld r0, t3, s3
- mul r3.xyz, r3, c1.x
- mad r2.xyz, r2, c1.x, r3
- mad r1.xyz, r1, c1.x, r2
- mad_sat r0.xyz, r0, c1.x, r1
- mul r0.xyz, r0, r0
- mul_sat r0.xyz, r0, c1.y
- dp3 r0.xyz, c2, r0
- mov r0.w, c0.w
- mov oC0, r0
-
- // approximately 13 instruction slots used (4 texture, 9 arithmetic)
-