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 $GlareTex;
- // sampler2D $HeatTex;
- // sampler2D $NoiseTex;
- // sampler2D $ScreenTex;
- //
- //
- // Registers:
- //
- // Name Reg Size
- // ------------ ----- ----
- // $Glare c0 1
- // $ScreenTex s0 1
- // $GlareTex s1 1
- // $HeatTex s2 1
- // $NoiseTex s3 1
- //
-
- ps_2_0
- def c1, 0.330000013, 0.589999974, 0.109999999, 1
- def c2, -0.0199999996, 0.0500000007, 0.0399999991, 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, t0, s0
- texld r2, t1, s1
- texld r0, t3, s3
- texld r1, t2, s2
- dp3 r3.x, c1, r3
- dp3_sat r2.x, c1, r2
- mad_sat r0.w, r2.x, c0.w, r3.x
- mad r2.xyz, r0.w, r0, c2
- mul r1.xyz, r1, r2
- add_sat r1.xyz, r1, r1
- mul r0.xyz, r0, r1
- mov r0.w, c1.w
- mov oC0, r0
-
- // approximately 13 instruction slots used (4 texture, 9 arithmetic)
-