// grey vignette tint
// Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
//
// Parameters:
//
//   float4 $ConstantColor;
//   float4 $DiffuseColor;
//   float4 $MappingTransform;
//   float4x4 $ModelMatrix;
//   float4x4 $ModelViewProjMatrix;
//   float4 $VertexDenormalizationBox[2];
//
//
// Registers:
//
//   Name                      Reg   Size
//   ------------------------- ----- ----
//   $ModelMatrix              c192     3
//   $MappingTransform         c195     1
//   $ModelViewProjMatrix      c196     4
//   $ConstantColor            c200     1
//   $VertexDenormalizationBox c220     2
//   $DiffuseColor             c250     1
//

    vs_3_0
    def c0, 255, 0.5, 0.00392156886, -2
//def c100, 0, 0, 0, 0
def c247, 0.25, 0, 0.0625, 0
dcl_2d s0
    dcl_position v0
    dcl_normal v1
    dcl_texcoord v2
    dcl_position o0
    dcl_texcoord o1.xy
    dcl_texcoord2 o2
    dcl_texcoord3 o3.xyz
    mov r0.xyz, c221
    mad r0.xyz, v0, r0, c220
    mul r1, r0.y, c197
    mad r1, c196, r0.x, r1
    mad r0, c198, r0.z, r1
    add r10, r0, c199
texldl r24, c247.z, s0
mov r25, r24
add r24.y, r10.w, -r24.y
mul r24.x, r24.x, r24.y
//add r10.x, r10.x, -r24.x
mov o0, r10
    mad o1.xy, v2, c195, c195.zwzw
    mov r0, c200
    mul r0, r0, c250
    mad r0, r0, c0.x, c0.y
    frc r1, r0
    add r0, r0, -r1
    mul r0, r0, c0.z
    max r0, r0, c0.w
    min o2, r0, -c0.w
    mul r0.xyz, c193, v1.y
    mad r0.xyz, c192, v1.x, r0
    mad o3.xyz, c194, v1.z, r0

// approximately 18 instruction slots used
 