// CRC32: 1FB6CF56 |    Unity headers extracted from DecalRoad.shader
//    Shader "Amplitude/Environment/Terrain/DecalRoad" {
//      Properties {
//       _Shininess ("Shininess", Range(0.01,1)) = 0.078125
//       _AltitudeGammaCorrectionFactor ("Altitude Gamma Correction", Float) = 0.25
//       _MainTex ("Base (RGB) TransGloss (A)", 2D) = "white" { }
//       _SpecularTex ("GlossColor", 2D) = "black" { }
//       _NormalTex ("Normal", 2D) = "bump" { }
//       _IllumTex ("Illum", 2D) = "black" { }
//       _NoiseTex ("NoiseTexture", 2D) = "white" { }
//       _HexaGridTexture ("Hexa Grid Tex", 2D) = "black" { }
//       _Intensity ("Intensity", Float) = 0.5
//       _ViewSensitivity ("3D, Battle, 2D, Empire", Vector) = (1,0,0,0)
//       _WinterSensitivity ("Summer, Winter, WinterIntensity, Fow intensity", Vector) = (1,1,1,1)
//       _Cutoff ("Alpha cutoff", Range(0,1)) = 0.5
//       _VisibilityStatus ("Visible at date1, date1, visible at date0, date0", Vector) = (1,0,1,-1)
//       _TransitionHexaPerTexture ("Hexa per Tex Transition", Float) = 2
//      }
//      Fallback Off
//      SubShader 1/1 {
//        Tags { "QUEUE"="Geometry-5" "RenderType"="Opaque" }
//        Pass 4/5 {
//          Name "PREPASS"
//          Tags { "LIGHTMODE"="PrePassFinal" "QUEUE"="Geometry-5" "RenderType"="Opaque" }
//          ZWrite Off
//          GpuProgramID 232130
//          Program "vp" {
//            SubProgram "d3d9 " {
//              GpuProgramIndex 32
//            }
//          }
//        }
//      }
//    }
//
// Unity 5.3 headers extracted from DecalRoad.shader.decompressed:
//   API d3d9
//   Shader model vs_3_0
//   undeciphered1: 16 -1 -1
//   Keywords { "LIGHTMAP_OFF" "DIRLIGHTMAP_OFF" "DYNAMICLIGHTMAP_OFF" "HDR_LIGHT_PREPASS_OFF" "DEFAULT_RENDERER" }
//   undeciphered3: 13 3 0 0 2 1 3 4 1
//   Vector 9 [_MainTex_ST]
//   Vector 7 [_ProjectionParams]
//   Vector 8 [_ScreenParams]
//   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:25:15 2016
//
//
// Parameters:
//
//   float4 _MainTex_ST;
//   row_major float4x4 _Object2World;
//   float4 _ProjectionParams;
//   float4 _ScreenParams;
//   row_major float4x4 glstate_matrix_mvp;
//
//
// Registers:
//
//   Name               Reg   Size
//   ------------------ ----- ----
//   glstate_matrix_mvp c0       4
//   _Object2World      c4       3
//   _ProjectionParams  c7       1
//   _ScreenParams      c8       1
//   _MainTex_ST        c9       1
//

    vs_3_0
    def c10, 0.5, 0, 0, 0
    dcl_position v0
    dcl_texcoord v1
    dcl_color v2
    dcl_position o0
    dcl_texcoord o1.xy
    dcl_texcoord1 o2.xyz
    dcl_texcoord2 o3
    dcl_texcoord3 o4
    dcl_texcoord4 o5

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

    mad o1.xy, v1, c9, c9.zwzw
    dp4 o2.x, c4, v0
    dp4 o2.y, c5, v0
    dp4 o2.z, c6, v0
    dp4 r0.y, c1, v0
    mul r1.x, r0.y, c7.x
    mul r1.w, r1.x, c10.x
    dp4 r0.x, c0, v0
    dp4 r0.w, c3, v0

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

    mul r1.xz, r0.xyww, c10.x
    mad o4.xy, r1.z, c8.zwzw, r1.xwzw
    dp4 r0.z, c2, v0

//     mov o0, r0 // Relocated to line 96 with shadertool.py
mov o0.z, r0 // Inserted by shadertool.py

    mov o4.zw, r0
    mov o3, v2
    mov o5, c10.y

// approximately 16 instruction slots used
