// CRC32: 864DCA62 |    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 1/3 {
//          Tags { "QUEUE"="Transparent+5" "SHADOWSUPPORT"="true" "RenderType"="Transparent" }
//          ZWrite Off
//          Blend One OneMinusSrcAlpha
//          GpuProgramID 23151
//          Program "vp" {
//            SubProgram "d3d9 " {
//              GpuProgramIndex 4
//            }
//          }
//        }
//      }
//    }
//
// Unity 5.3 headers extracted from AirColossusPass.shader.decompressed:
//   API d3d9
//   Shader model vs_3_0
//   undeciphered1: 27 -1 -1
//   Keywords { "DIRECTIONAL" "SHADOWS_OFF" "LIGHTMAP_OFF" "DIRLIGHTMAP_OFF" "DYNAMICLIGHTMAP_OFF" "INGAME_RENDERER" }
//   undeciphered3: 139 4 0 0 1 2 3 4 7 8 1
//   Vector 7 [_ScreenParams]
//   Vector 8 [_WorldSize]
//   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:22 2016
//
//
// Parameters:
//
//   row_major float4x4 _Object2World;
//   float4 _ScreenParams;
//   float4 _WorldSize;
//   row_major float4x4 glstate_matrix_mvp;
//
//
// Registers:
//
//   Name               Reg   Size
//   ------------------ ----- ----
//   glstate_matrix_mvp c0       4
//   _Object2World      c4       3
//   _ScreenParams      c7       1
//   _WorldSize         c8       1
//

    vs_3_0
    def c9, 0.5, 0.100000001, 1, 0
    dcl_position v0
    dcl_tangent v1
    dcl_normal v2
    dcl_texcoord v3
    dcl_position o0
    dcl_texcoord o1.xyz
    dcl_texcoord1 o2.xy
    dcl_texcoord3 o3.xyz
    dcl_texcoord4 o4.xyz
    dcl_texcoord5 o5
    dcl_texcoord6 o6.xy

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

    dp4 o1.x, c4, v0
    dp4 o1.y, c5, v0
    dp4 o1.z, c6, v0
    dp3 o3.x, c4, v2
    dp3 o3.y, c5, v2
    dp3 o3.z, c6, v2
    dp3 o4.x, c4, v1
    dp3 o4.y, c5, v1
    dp3 o4.z, c6, v1
    dp4 r0.x, c0, v0
    dp4 r0.w, c3, v0

mov o0, r0 // Relocated from line 111 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\864DCA62.txt
texldl r31, c220.z, s3
add r31.w, r0.w, -r31.y
mad r0.x, r31.w, r31.x, r0.x

    mul r1.x, r0.w, c7.z
    mul r1.x, r1.x, c9.x
    mad o5.x, r0.x, c9.x, r1.x
    dp4 r0.y, c1, v0
    add r1.x, -r0.y, r0.w
    mul o5.y, r1.x, c9.x
    rcp r1.x, c8.x
    rcp r1.y, c8.y
    mul r2, c9.yyyz, v0
    dp4 r3.x, c4, r2
    dp4 r3.y, c6, r2
    mul o6.xy, r1, r3
    dp4 r0.z, c2, v0

//     mov o0, r0 // Relocated to line 98 with shadertool.py
mov o0.yz, r0 // Inserted by shadertool.py

    mov o5.zw, r0
    mov o2.xy, v3

// approximately 27 instruction slots used
