// CRC32: 2422030A |    Unity headers extracted from AirColossusPass.shader
//    Shader "Amplitude/Characters/AirColossusPass" {
//      Properties {
//       _Color ("Color multiplier", Color) = (1,1,1,1)
//       _MainTex ("Diffuse Texture", 2D) = "white" { }
//       _BumpMap ("Normal Map", 2D) = "white" { }
//       _FactionMaskMap ("FactionMask Map", 2D) = "black" { }
//       _WinterSensitivity ("Summer, Winter, WinterIntensity, Fow intensity", Vector) = (1,1,1,1)
//       _BaseFactionColor ("Base Faction Color", Color) = (0.8,0.1,0.1,1)
//       _FactionColor ("Faction Color", Color) = (0.8,0.1,0.1,1)
//       _ViewSensitivity ("3D, Battle, 2D, Empire", Vector) = (1,1,1,0)
//       _Deformation ("Deformation (Refraction, Diffuse, Normal, Speed)", Vector) = (5.32,0.05,0,0)
//       _Settings ("Scrolling speed x, Scrolling speed y, 0, effet loupe", Vector) = (0,0,0,0)
//      [HideInInspector]  _VisibilityStatus ("Visible at date1, date1, visible at date0, date0", Vector) = (1,0,1,-1)
//      }
//      Fallback Off
//      SubShader 1/1 {
//        Tags { "QUEUE"="Transparent+5" "RenderType"="Transparent" }
//        GrabPass {
//          "_WaterGrabTexture"
//          Tags { "LIGHTMODE"="ForwardBase" }
//         }
//        Pass 2/3 {
//          Name "SHADOWCASTER"
//          Tags { "LIGHTMODE"="SHADOWCASTER" "QUEUE"="Transparent+5" "SHADOWSUPPORT"="true" "RenderType"="Transparent" }
//          Cull Off
//          Offset 1, 1
//          GpuProgramID 106774
//          Program "vp" {
//            SubProgram "d3d9 " {
//              GpuProgramIndex 14
//            }
//          }
//        }
//      }
//    }
//
// Unity 5.3 headers extracted from AirColossusPass.shader.decompressed:
//   API d3d9
//   Shader model vs_3_0
//   undeciphered1: 19 -1 -1
//   Keywords { "SHADOWS_DEPTH" "INGAME_RENDERER" }
//   undeciphered3: 1 1 0 0 1
//   Vector 8 [_WorldSize]
//   Vector 7 [unity_LightShadowBias]
//   Matrix 4 [_Object2World] 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:24:23 2016
//
//
// Parameters:
//
//   row_major float4x4 _Object2World;
//   float4 _WorldSize;
//   row_major float4x4 glstate_matrix_mvp;
//   float4 unity_LightShadowBias;
//
//
// Registers:
//
//   Name                  Reg   Size
//   --------------------- ----- ----
//   glstate_matrix_mvp    c0       4
//   _Object2World         c4       3
//   unity_LightShadowBias c7       1
//   _WorldSize            c8       1
//

    vs_3_0
    def c9, 0.100000001, 1, 0, 0
    dcl_position v0
    dcl_texcoord o0
    dcl_position o1
    dcl_texcoord1 o2.xy

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

    rcp r0.x, c8.x
    rcp r0.y, c8.y
    mul r1, c9.xxxy, v0
    dp4 r2.x, c4, r1
    dp4 r2.y, c6, r1
    mul o2.xy, r0, r2
    mad r0, v0.xyzx, c9.yyyz, c9.zzzy
    dp4 r1.w, c3, r0
    rcp r2.x, r1.w
    mul_sat r2.x, r2.x, c7.x
    dp4 r2.y, c2, r0
    add r2.x, r2.x, r2.y
    max r2.y, r2.x, c9.z
    lrp r1.z, c7.y, r2.y, r2.x
    dp4 r1.x, c0, r0
    dp4 r1.y, c1, r0

mov o1, r1 // Relocated from line 98 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\2422030A.txt
texldl r31, c220.z, s3
add r31.w, r1.w, -r31.y
mad r1.x, r31.w, r31.x, r1.x

    mov o0, r1

//     mov o1, r1 // Relocated to line 97 with shadertool.py

// approximately 18 instruction slots used
