//--FOV-- CRC32: 5F7E7300 |    Unity headers extracted from RegionLine.shader
//    Shader "Custom/RegionLine" {
//      Properties {
//       _MainTex ("Diffuse", 2D) = "white" { }
//       _Radius ("Radius External, Internal, Neutral, ... ) ", Vector) = (0.3,0.07,0.13,0)
//       _Radius2DView ("Radius vue 2D External, Internal, Neutral, ... ) ", Vector) = (0.3,0.07,0.13,0)
//       _HighlightSize ("Highlight Modifier (Radius, YOffset, ...)", Vector) = (0.2,0.07,0,0)
//       _HighlightSize2DView ("Highlight Modifier 2D (Radius, YOffset, ...)", Vector) = (0.2,0.07,0,0)
//       _YOffset ("Y Offset", Float) = 0.02
//       _PulseTimeFactor ("Pulse Time Factor", Float) = 50
//      }
//      Fallback Off
//      SubShader 1/1 {
//        Tags { "QUEUE"="Transparent" "RenderType"="Transparent" }
//        Pass 1/1 {
//          Tags { "QUEUE"="Transparent" "RenderType"="Transparent" }
//          ZWrite Off
//          Cull Off
//          Blend SrcAlpha OneMinusSrcAlpha
//          ColorMask RGB
//          GpuProgramID 2358
//          Program "vp" {
//            SubProgram "d3d9 " {
//              GpuProgramIndex 0
//            }
//          }
//        }
//      }
//    }
//
// Unity 5.3 headers extracted from RegionLine.shader.decompressed:
//   API d3d9
//   Shader model vs_3_0
//   undeciphered1: 90 10 -1
//   undeciphered3: 13 3 0 0 2 1 3 4 1
//   Float 10 [_2DView]
//   Vector 8 [_FilteredFirstHexaTexture_TexelSize]
//   Vector 14 [_HighlightSize]
//   Vector 15 [_HighlightSize2DView]
//   Float 17 [_PulseTimeFactor]
//   Vector 12 [_Radius]
//   Vector 13 [_Radius2DView]
//   Vector 11 [_RegionHighLightMap_TexelSize]
//   Vector 7 [_Time]
//   Vector 9 [_WorldSize]
//   Float 16 [_YOffset]
//   Matrix 4 [_Object2World] 3
//   Matrix 0 [glstate_matrix_mvp]
//   SetTexture 0 [_FilteredFirstHexaTexture] 2D 0
//   SetTexture 1 [_RegionHighLightMap] 2D 1
//   SetTexture 2 [_RegionColorAndNeutralMap] 2D 2
//
// 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:47 2016
//
//
// Parameters:
//
//   float _2DView;
//   sampler2D _FilteredFirstHexaTexture;
//   float4 _FilteredFirstHexaTexture_TexelSize;
//   float4 _HighlightSize;
//   float4 _HighlightSize2DView;
//   row_major float4x4 _Object2World;
//   float _PulseTimeFactor;
//   float4 _Radius;
//   float4 _Radius2DView;
//   sampler2D _RegionColorAndNeutralMap;
//   sampler2D _RegionHighLightMap;
//   float4 _RegionHighLightMap_TexelSize;
//   float4 _Time;
//   float4 _WorldSize;
//   float _YOffset;
//   row_major float4x4 glstate_matrix_mvp;
//
//
// Registers:
//
//   Name                                Reg   Size
//   ----------------------------------- ----- ----
//   glstate_matrix_mvp                  c0       4
//   _Object2World                       c4       3
//   _Time                               c7       1
//   _FilteredFirstHexaTexture_TexelSize c8       1
//   _WorldSize                          c9       1
//   _2DView                             c10      1
//   _RegionHighLightMap_TexelSize       c11      1
//   _Radius                             c12      1
//   _Radius2DView                       c13      1
//   _HighlightSize                      c14      1
//   _HighlightSize2DView                c15      1
//   _YOffset                            c16      1
//   _PulseTimeFactor                    c17      1
//   _FilteredFirstHexaTexture           s0       1
//   _RegionHighLightMap                 s1       1
//   _RegionColorAndNeutralMap           s2       1
//
//
// Default values:
//
//   _2DView
//     c10  = { 0, 0, 0, 0 };
//

    vs_3_0
    def c18, 255, 0.5, 0, 1
    def c19, 128, 0.600000024, 0.400000006, -0.0399999991
    def c20, 0.159154937, 0.5, 6.28318548, -3.14159274
    def c21, -1, 1, 0, 0
    dcl_position v0
    dcl_color v1
    dcl_texcoord v2
    dcl_2d s0
    dcl_2d s1
    dcl_2d s2
    dcl_position o0
    dcl_texcoord o1
    dcl_texcoord1 o2.xy
    dcl_texcoord2 o3.xy
    mul r0.xy, c18.x, v1.zwzw
    mul r0.xy, r0, c11.x
    frc r1.xy, r0
    add r1.xy, r0, -r1
    mul r0.zw, r1.xyxy, c11.y
    mov r1.yw, c18
    mad r2.xy, c11, r1.y, r0.ywzw
    mad r0.xy, c11, r1.y, r0.xzzw
    mov r2.zw, c18.z
    texldl r3, r2, s1
    texldl r2, r2.xyww, s2
    sge r1.xy, r3.yxzw, c18.y
    add r1.y, -r1.y, c18.w
    min r1.x, r1.x, r1.y
    mov r0.zw, c18.z
    texldl r3, r0, s1
    texldl r0, r0.xyww, s2
    sge r1.y, r3.x, c18.y
    add r1.y, -r1.y, c18.w
    min r1.x, r1.x, r1.y
    add r0.w, -r0.w, c18.w
    add r1.y, -r0.w, c18.w
    max r1.y, r3.w, r1.y
    max o1.w, r1.y, r1.x
    mad r1.x, r1.x, c19.y, c19.z
    add r2.xyz, -r2, r0
    mov o1.xyz, r0
    mul r0.xyz, r2, c19.x
    dp3 r0.x, r0, r0
    rsq r0.x, r0.x
    rcp r0.x, r0.x
    min r0.x, r0.x, c18.w
    mov r2.xyz, c12
    add r3.xyz, -r2, c13
    mad r2.xyz, c10.x, r3, r2
    mul r0.y, r1.x, r2.y
    mad r0.z, r2.x, r1.x, -r0.y
    mad r0.x, r0.x, r0.z, r0.y
    mad r0.y, r2.z, r1.x, -r0.x
    mad r0.x, r0.w, r0.y, r0.x
    mov r2.x, c7.x
    mul r0.y, r2.x, c17.x
    mad r0.y, r0.y, c20.x, c20.y
    frc r0.y, r0.y
    mad r0.y, r0.y, c20.z, c20.w
    sincos r2.y, r0.y
    mad r0.y, r2.y, c18.y, c18.y
    mov r2.xy, c14
    add r0.zw, -r2.xyxy, c15.xyxy
    mad r0.zw, c10.x, r0, r2.xyxy
    mul r0.z, r1.x, r0.z
    mad r2.y, r0.w, r3.w, c16.x
    mul r0.z, r0.z, r3.w
    mad r0.x, r0.z, r0.y, r0.x
    mul r0.yz, r0.x, v2.xxyw
    mul r0.x, r0.x, c18.y
    mul r1.xy, c21, v2.yxzw
    mul r0.xw, r0.x, -r1.xyzy
    add r1.x, -c18.y, v1.x
    mul r0.xw, r0, r1.x
    mad r2.xz, r0.yyzw, v1.y, r0.xyww
    dp4 r0.x, c4, v0
    dp4 r0.y, c6, v0
    rcp r1.x, c9.x
    rcp r1.y, c9.y
    mul r0.xy, r0, r1
    max r1.x, r0.y, c18.z
    add r1.y, r1.w, -c8.y
    min r0.z, r1.y, r1.x
    mov r0.w, c18.z
    texldl r1, r0.xzww, s0
    mov o3.xy, r0
    add r0.x, -r1.x, c18.y
    add_sat r0.x, r0.x, r0.x
    lrp r1.y, r0.x, c19.w, v0.y
    mov r1.xzw, v0
    mov r2.w, c18.z
    add r0, r1, r2
    dp4 o0.x, c0, r0
    dp4 o0.y, c1, r0
    dp4 o0.z, c2, r0
    dp4 o0.w, c3, r0
    mov o2.xy, v1

// approximately 95 instruction slots used (10 texture, 85 arithmetic)
