//
// Generated by Microsoft (R) HLSL Shader Compiler 9.26.952.2844
//
// Parameters:
//
//   struct
//   {
//       float4 color;
//       float density;
//       float start;
//       float end;
//       float scale;
//
//   } u_Fog;
//   
//   struct
//   {
//       float4 ambient;
//       float4 diffuse;
//       float4 specular;
//       float4 emission;
//       float shininess;
//
//   } u_FrontMaterial;
//   
//   float4x4 u_ModelViewMatrix;
//   float4x4 u_ModelViewProjectionMatrix;
//   float4x4 u_TextureMatrix;
//
//
// Registers:
//
//   Name                        Reg   Size
//   --------------------------- ----- ----
//   u_Fog                       c0       5
//   u_ModelViewProjectionMatrix c5       4
//   u_ModelViewMatrix           c9       3
//   u_TextureMatrix             c12      2
//   u_FrontMaterial             c14      2
//

    vs_3_0
    def c16, 1, 0, 0, 0
	def c220, 4, 0, 0, 0 //new
    dcl_position v0
    dcl_color v1
    dcl_texcoord v2
    dcl_position o0
    dcl_texcoord o1
    dcl_color o2
    dcl_texcoord1 o3
    dp4 r3.x, v0, c5  //replace
    dp4 r3.y, v0, c6 //replace
    dp4 r3.z, v0, c7 //replace
    dp4 r3.w, v0, c8 //replace
    rcp r0.x, v0.w
    mul r0.xyz, r0.x, v0
    mov r0.w, c16.x
    dp4 o1.x, r0, c9
    dp4 o1.y, r0, c10
    dp4 r0.x, r0, c11
    mad r0.yzw, v2.xxyx, c16.xxxy, c16.xyyx
    dp3 o3.x, r0.yzww, c12
    dp3 o3.y, r0.yzww, c13
    add r0.y, -r0_abs.x, c3.x
    mov o1.z, r0.x
    mul_sat o1.w, r0.y, c4.x
	mul r3, r3, c220.x //new
	mov o0, r3  //new
    mul o2, c15, v1
    mov o3.zw, c16.y

// approximately 18 instruction slots used
 