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;
- //
- //
- // Registers:
- //
- // Name Reg Size
- // --------------- ----- ----
- // $DofFocalParams c0 1
- //
-
- ps_2_0
- def c1, 0.00048828125, 1, 0, 0
- dcl t0
- mov r0.w, c1.x
- mul_sat r1.w, r0.w, c0.x
- mul_sat r2.w, t0.w, c1.x
- add r1.w, r1.w, -r2.w
- abs r1.w, r1.w
- mul r0.w, r0.w, c0.y
- rcp r0.w, r0.w
- mul r0.w, r1.w, r0.w
- mov_sat r0.xyz, r0.w
- mov r0.w, c1.y
- mov oC0, r0
-
- // approximately 11 instruction slots used
-