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 $Matrix;
- // sampler2D $bumpMap;
- // sampler2D $refMap;
- //
- //
- // Registers:
- //
- // Name Reg Size
- // ------------ ----- ----
- // $Matrix c0 1
- // $bumpMap s0 1
- // $refMap s1 1
- //
-
- ps_2_0
- def c1, 1, 0, 0, 0
- dcl t0.xy
- dcl t1
- dcl_2d s0
- dcl_2d s1
- texld r0, t0, s0
- rcp r0.w, t1.w
- mul r1.xy, r0.x, c0
- mad r1.xy, t1, r0.w, r1
- mad r0.x, c0.z, r0.y, r1.x
- mad r0.y, c0.w, r0.y, r1.y
- texld r0, r0, s1
- mov r0.w, c1.x
- mov oC0, r0
-
- // approximately 9 instruction slots used (2 texture, 7 arithmetic)
-