// CRC32: 44255D1A | Matched 2 variants of 1 shaders: Amplitude/Flames/LavaFlow
//
//       Unity headers extracted from OGV_Flames_LavaFlow.shader
//       Shader "Amplitude/Flames/LavaFlow" {
//         Properties {
//          _Color ("Color", Color) = (1,1,1,1)
//          _ScrollingSpeed_U ("u_speed", Float) = 0
//          _ScrollingSpeed_V ("v_speed", Float) = 0
//          _MainTex ("Albedo (RGB)", 2D) = "white" { }
//          _EmissionTex ("Emission (RGB)", 2D) = "white" { }
//         [HDR]  _EmissionColor ("Emission color", Color) = (0,0,0,1)
//         }
//         Fallback "Diffuse"
//         SubShader 1/1 {
//           LOD 200
//           Tags { "RenderType"="Opaque" }
//           Pass 2/3 {
//             Name "FORWARD"
//             Tags { "LIGHTMODE"="ForwardAdd" "SHADOWSUPPORT"="true" "RenderType"="Opaque" }
//             ZWrite Off
//             Blend One One
//             GpuProgramID 68605
//             Program "vp" {
//               SubProgram "d3d9 " {
// 1:              GpuProgramIndex 12
// 2:              GpuProgramIndex 13
//               }
//             }
//           }
//         }
//       }
//
//    Unity 5.3 headers extracted from OGV_Flames_LavaFlow.shader.decompressed:
//      API d3d9
//      Shader model vs_3_0
//      undeciphered1: 201509030 20 -1 -1
// 1:   Keywords { "DIRECTIONAL" "SHADOWS_SCREEN" }
// 2:   Keywords { "DIRECTIONAL_COOKIE" "SHADOWS_SCREEN" }
//      undeciphered3: 11 3 0 0 1 2 3 4 1
//      Vector 12 [_MainTex_ST]
//      Vector 10 [_ProjectionParams]
//      Vector 11 [_ScreenParams]
//      Matrix 4 [_Object2World] 3
//      Matrix 7 [_World2Object] 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 Mon Aug 13 12:41:19 2018
//
//
// Parameters:
//
//   float4 _MainTex_ST;
//   row_major float4x4 _Object2World;
//   float4 _ProjectionParams;
//   float4 _ScreenParams;
//   row_major float4x4 _World2Object;
//   row_major float4x4 glstate_matrix_mvp;
//
//
// Registers:
//
//   Name               Reg   Size
//   ------------------ ----- ----
//   glstate_matrix_mvp c0       4
//   _Object2World      c4       3
//   _World2Object      c7       3
//   _ProjectionParams  c10      1
//   _ScreenParams      c11      1
//   _MainTex_ST        c12      1
//

    vs_3_0
    def c13, 0.5, 0, 0, 0
    dcl_position v0
    dcl_normal v1
    dcl_texcoord v2
    dcl_position o0
    dcl_texcoord o1.xy
    dcl_texcoord1 o2.xyz
    dcl_texcoord2 o3.xyz
    dcl_texcoord3 o4

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

    mad o1.xy, v2, c12, c12.zwzw
    dp4 o3.x, c4, v0
    dp4 o3.y, c5, v0
    dp4 o3.z, c6, v0
    mul r0.xyz, c8, v1.y
    mad r0.xyz, c7, v1.x, r0
    mad r0.xyz, c9, v1.z, r0
    dp3 r0.w, r0, r0
    rsq r0.w, r0.w
    mul o2.xyz, r0.w, r0
    dp4 r0.y, c1, v0
    mul r1.x, r0.y, c10.x
    mul r1.w, r1.x, c13.x
    dp4 r0.x, c0, v0
    dp4 r0.w, c3, v0

mov o0, r0 // Relocated from line 105 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 --only-autofixed --ignore-parse-errors --ignore-register-errors --ignore-other-errors dumps\allshaders\vertexshader\44255D1A.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, c13.x
    mad o4.xy, r1.z, c11.zwzw, r1.xwzw
    dp4 r0.z, c2, v0

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

    mov o4.zw, r0

// approximately 20 instruction slots used
