//
// Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
//
// Parameters:
//
//   sampler2D _sampler_00;
//   float4 _sampler_00TexColor;
//   sampler2D vfxDepthMap;
//   float4 vfxSoftParticleParam;
//
//
// Registers:
//
//   Name                 Reg   Size
//   -------------------- ----- ----
//   vfxSoftParticleParam c20      1
//   _sampler_00TexColor  c21      1
//   vfxDepthMap          s0       1
//   _sampler_00          s1       1
//
//
// Default values:
//
//   vfxSoftParticleParam
//     c20  = { 1.79, 0, 0, 0 };
//
//   _sampler_00TexColor
//     c21  = { 1, 1, 1, 1 };
//

    ps_3_0
    def c0, 0.5, 1, -1, 0
    def c1, 6, 2, 3, 0
    dcl_texcoord3_pp v0
    dcl_texcoord v1.xy
    dcl_texcoord5 v2
    dcl_2d s0
    dcl_2d s1
    rcp r0.x, v2.w
    mul r0, r0.x, v2.xyxx
    mad r0, r0, c0.x, c0.x
    mad r0, r0, c0.yzww, c0.wywy
    texldl r0, r0, s0
    add r0.x, r0.x, -v2.z
    mov r1.x, c1.x
    add r0.y, r1.x, c20.y
    mul_sat_pp r0.x, r0.x, r0.y
    mad_pp r0.y, r0.x, -c1.y, c1.z
    mul_pp r0.x, r0.x, r0.x
    mul_pp r0.x, r0.y, r0.x
    texld_pp r1, v1, s1
    mul_pp r1, r1, c21
    mul_pp r1, r1, v0
    mul_pp oC0.w, r0.x, r1.w
    mov_pp oC0.xyz, r1

// approximately 18 instruction slots used (3 texture, 15 arithmetic)
 