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 $DofFocalParams;
- // sampler2D $ScreenMap;
- //
- //
- // Registers:
- //
- // Name Reg Size
- // --------------- ----- ----
- // $DofFocalParams c0 1
- // $ScreenMap s0 1
- //
-
- ps_2_0
- def c1, 0.00048828125, 0, 0, 0
- dcl t0.xy
- dcl t1
- dcl_2d s0
- texld r0, t0, s0
- mov r1.w, c1.x
- mul_sat r2.w, r1.w, c0.x
- mul_sat r3.w, t1.w, c1.x
- add r2.w, r2.w, -r3.w
- abs r2.w, r2.w
- mul r1.w, r1.w, c0.y
- rcp r1.w, r1.w
- mul r1.w, r2.w, r1.w
- mov_sat r0.xyz, r1.w
- mov oC0, r0
-
- // approximately 11 instruction slots used (1 texture, 10 arithmetic)
-