home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 January / Gamestar_69_2005-01_dvd.iso / Dema / theprojectv1-0.exe / Shaders / Cache / CGPShaders / CGRCGaussBlur$D3D9_PS20$NoFog.cgps < prev    next >
Encoding:
Text File  |  2004-11-27  |  923 b   |  48 lines

  1. //CGVER3.4
  2. //
  3. // Generated by Microsoft (R) D3DX9 Shader Compiler 5.04.00.2904
  4. //
  5. //   fxc /T ps_2_0 /DCGC=0 /Fc $$out.cg $$in.cg
  6. //
  7. //
  8. // Parameters:
  9. //
  10. //   sampler2D $baseMap;
  11. //   float4 $vConstants[7];
  12. //
  13. //
  14. // Registers:
  15. //
  16. //   Name         Reg   Size
  17. //   ------------ ----- ----
  18. //   $vConstants  c0       7
  19. //   $baseMap     s0       1
  20. //
  21.  
  22.     ps_2_0
  23.     dcl t0.xy
  24.     dcl t1.xy
  25.     dcl t2.xy
  26.     dcl t3.xy
  27.     dcl t4.xy
  28.     dcl t5.xy
  29.     dcl t6.xy
  30.     dcl_2d s0
  31.     texld r6, t1, s0
  32.     texld r5, t0, s0
  33.     texld r4, t2, s0
  34.     texld r3, t3, s0
  35.     texld r2, t4, s0
  36.     texld r1, t5, s0
  37.     texld r0, t6, s0
  38.     mul r6, r6, c1.w
  39.     mad r5, r5, c0.w, r6
  40.     mad r4, r4, c2.w, r5
  41.     mad r3, r3, c3.w, r4
  42.     mad r2, r2, c4.w, r3
  43.     mad r1, r1, c5.w, r2
  44.     mad r0, r0, c6.w, r1
  45.     mov oC0, r0
  46.  
  47. // approximately 15 instruction slots used (7 texture, 8 arithmetic)
  48.