// CRC32: 1A545319 |    Unity headers extracted from Particle Add.shader
//    Shader "Particles/Additive" {
//      Properties {
//       _TintColor ("Tint Color", Color) = (0.5,0.5,0.5,0.5)
//       _MainTex ("Particle Texture", 2D) = "white" { }
//       _InvFade ("Soft Particles Factor", Range(0.01,3)) = 1
//      }
//      SubShader 1/1 {
//        Tags { "QUEUE"="Transparent" "IGNOREPROJECTOR"="true" "RenderType"="Transparent" }
//        Pass 1/1 {
//          Tags { "QUEUE"="Transparent" "IGNOREPROJECTOR"="true" "RenderType"="Transparent" }
//          ZWrite Off
//          Cull Off
//          Blend SrcAlpha One
//          ColorMask RGB
//          GpuProgramID 62330
//          Program "vp" {
//            SubProgram "d3d9 " {
//              GpuProgramIndex 1
//            }
//          }
//        }
//      }
//    }
//
// Unity 5.3 headers extracted from Particle Add.shader.decompressed:
//   API d3d9
//   Shader model vs_2_0
//   undeciphered1: 13 -1 -1
//   Keywords { "SOFTPARTICLES_ON" }
//   undeciphered3: 13 3 0 0 2 1 3 4 1
//   Vector 9 [_MainTex_ST]
//   Vector 7 [_ProjectionParams]
//   Vector 8 [_ScreenParams]
//   Matrix 4 [glstate_matrix_modelview0] 3
//   Matrix 0 [glstate_matrix_mvp]
//
// Headers extracted with DarkStarSword's extract_unity53_shaders.py
// https://raw.githubusercontent.com/DarkStarSword/3d-fixes/master/extract_unity53_shaders.py

//
// Generated by Microsoft (R) HLSL Shader Compiler 6.3.9600.16384
//   using 3Dmigoto command line v1.2.38 on Sun Oct 16 02:25:40 2016
//
//
// Parameters:
//
//   float4 _MainTex_ST;
//   float4 _ProjectionParams;
//   float4 _ScreenParams;
//   row_major float4x4 glstate_matrix_modelview0;
//   row_major float4x4 glstate_matrix_mvp;
//
//
// Registers:
//
//   Name                      Reg   Size
//   ------------------------- ----- ----
//   glstate_matrix_mvp        c0       4
//   glstate_matrix_modelview0 c4       3
//   _ProjectionParams         c7       1
//   _ScreenParams             c8       1
//   _MainTex_ST               c9       1
//

    vs_3_0 // Converted from vs_2_0 with DarkStarSword's shadertool.py
    def c10, 0.5, 0, 0, 0
    dcl_position v0
    dcl_color v1
    dcl_texcoord v2

dcl_texcoord o0
dcl_texcoord2 o1
dcl_position o2
dcl_color o3


def c220, 0, 1, 0.0625, 0.5
dcl_2d s3

    dp4 o2.z, c2, v0
    dp4 r0.y, c1, v0
    mul r0.z, r0.y, c7.x
    dp4 r0.x, c0, v0
    dp4 r0.w, c3, v0

mov o2.xyw, r0 // Relocated from line 83 with shadertool.py

// Automatic vertex shader halo fix inserted with DarkStarSword's shadertool.py:
// shadertool.py -i --fix-unity-reflection --auto-fix-vertex-halo --add-fog-on-sm3-update --stereo-sampler-vs s3 --only-autofixed --ignore-parse-errors --ignore-register-errors --ignore-other-errors dumps\allshaders\vertexshader\1A545319.txt
texldl r31, c220.z, s3
add r31.w, r0.w, -r31.y
mad r0.x, r31.w, r31.x, r0.x

    mul r1.xzw, r0.xywz, c10.x

//     mov o2.xyw, r0 // Relocated to line 82 with shadertool.py
    mov o1.w, r0.w
    mad o1.xy, r1.z, c8.zwzw, r1.xwzw
    dp4 r0.x, c6, v0
    mov o1.z, -r0.x
    mad o0.xy, v2, c9, c9.zwzw
    mov o3, v1

// approximately 13 instruction slots used
