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 $FlashBang;
- // sampler2D $baseMap;
- // sampler2D $flashMap;
- //
- //
- // Registers:
- //
- // Name Reg Size
- // ------------ ----- ----
- // $FlashBang c0 1
- // $baseMap s0 1
- // $flashMap s1 1
- //
-
- ps_2_0
- def c1, 4, 1, 0, 0
- dcl t0.xy
- dcl t1.xy
- dcl_2d s0
- dcl_2d s1
- texld r0, t1, s1
- texld r1, t0, s0
- mov r2.x, c0.w
- mad r2.xyz, r0, c1.x, r2.x
- lrp r0.xyz, c0.w, r2, r1
- mov r0.w, c1.y
- mov oC0, r0
-
- // approximately 8 instruction slots used (2 texture, 6 arithmetic)
-