//Shadows VS 4.
// ---- Created with 3Dmigoto v1.3.12 on Sat Dec 15 15:42:47 2018

cbuffer _Globals : register(b0)
{
  row_major float4x4 _sp_world_view_projection_matrix : packoffset(c0);
  row_major float4x4 _sp_world_decal_matrix : packoffset(c4);
}

cbuffer DriverStereoParams : register(b12)
{
    float driver_neg_sep_conv;
    float driver_sep;
}

// 3Dmigoto declarations
#define cmp -
Texture1D<float4> IniParams : register(t120);
Texture2D<float4> StereoParams : register(t125);


void main(
  float4 v0 : POSITION0,
  out float4 o0 : SV_Position0,
  out float4 o1 : TEXCOORD4)
{
  float4 r0;
  uint4 bitmask, uiDest;
  float4 fDest;

  r0.xyzw = _sp_world_view_projection_matrix._m10_m11_m12_m13 * v0.yyyy;
  r0.xyzw = v0.xxxx * _sp_world_view_projection_matrix._m00_m01_m02_m03 + r0.xyzw;
  r0.xyzw = v0.zzzz * _sp_world_view_projection_matrix._m20_m21_m22_m23 + r0.xyzw;
  o0.xyzw = v0.wwww * _sp_world_view_projection_matrix._m30_m31_m32_m33 + r0.xyzw;
  r0.xyzw = _sp_world_decal_matrix._m10_m11_m12_m13 * v0.yyyy;
  r0.xyzw = v0.xxxx * _sp_world_decal_matrix._m00_m01_m02_m03 + r0.xyzw;
  r0.xyzw = v0.zzzz * _sp_world_decal_matrix._m20_m21_m22_m23 + r0.xyzw;
  r0.xyzw = v0.wwww * _sp_world_decal_matrix._m30_m31_m32_m33 + r0.xyzw;
  o1.xyzw = float4(0,0,0,1.00000001e-007) + r0.xyzw;
  if (driver_sep)
  {
	o0.x += driver_sep * o0.w*0 + driver_neg_sep_conv*0.00000000001;
  }
  return;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.16384
//
//   using 3Dmigoto v1.3.12 on Sat Dec 15 15:42:47 2018
//
//
// Buffer Definitions:
//
// cbuffer $Globals
// {
//
//   row_major float4x4 _sp_world_view_projection_matrix;// Offset:    0 Size:    64
//   row_major float4x4 _sp_world_decal_matrix;// Offset:   64 Size:    64
//
// }
//
//
// Resource Bindings:
//
// Name                                 Type  Format         Dim Slot Elements
// ------------------------------ ---------- ------- ----------- ---- --------
// $Globals                          cbuffer      NA          NA    0        1
//
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// POSITION                 0   xyzw        0     NONE   float   xyzw
//
//
// Output signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Position              0   xyzw        0      POS   float   xyzw
// TEXCOORD                 4   xyzw        1     NONE   float   xyzw
//
vs_5_0
dcl_globalFlags refactoringAllowed
dcl_constantbuffer cb0[8], immediateIndexed
dcl_input v0.xyzw
dcl_output_siv o0.xyzw, position
dcl_output o1.xyzw
dcl_temps 1
mul r0.xyzw, v0.yyyy, cb0[1].xyzw
mad r0.xyzw, v0.xxxx, cb0[0].xyzw, r0.xyzw
mad r0.xyzw, v0.zzzz, cb0[2].xyzw, r0.xyzw
mad o0.xyzw, v0.wwww, cb0[3].xyzw, r0.xyzw
mul r0.xyzw, v0.yyyy, cb0[5].xyzw
mad r0.xyzw, v0.xxxx, cb0[4].xyzw, r0.xyzw
mad r0.xyzw, v0.zzzz, cb0[6].xyzw, r0.xyzw
mad r0.xyzw, v0.wwww, cb0[7].xyzw, r0.xyzw
add o1.xyzw, r0.xyzw, l(0.000000, 0.000000, 0.000000, 1.000000012E-007)
ret
// Approximately 10 instruction slots used

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
