//Flowers VS 1.
// ---- Created with 3Dmigoto v1.3.16 on Sat Jun 01 23:21:08 2019



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


void main(
  float4 v0 : POSITION0,
  float4 v1 : DIFFUSE0,
  float2 v2 : TEXCOORD0,
  out float4 o0 : SV_Position0,
  out float2 o1 : TEXCOORD0,
  out float p1 : FOG0,
  out float4 o2 : COLOR0,
  out float2 o3 : DEPTH0)
{
  float4 r0;
  uint4 bitmask, uiDest;
  float4 fDest;
  
  float4 stereo = StereoParams.Load(0);
  
  r0.xyz = v0.xyz * float3(0.00312500005,-0.00416666688,1) + float3(-1,1,0);
  r0.w = 1;
  o0.xyzw = r0.xyzw;
  o0.x+=stereo.x*(o0.w-stereo.y*r0.z*15);
  o3.xy = r0.zw;
  o1.xy = v2.xy;
  p1.x = 0;
  o2.xyzw = v1.xyzw;
  return;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Generated by Microsoft (R) HLSL Shader Compiler 6.3.9600.16384
//
//   using 3Dmigoto v1.3.16 on Sat Jun 01 23:21:08 2019
//
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// POSITION                 0   xyzw        0     NONE   float   xyz
// DIFFUSE                  0   xyzw        1     NONE   float   xyzw
// TEXCOORD                 0   xy          2     NONE   float   xy
//
//
// Output signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Position              0   xyzw        0      POS   float   xyzw
// TEXCOORD                 0   xy          1     NONE   float   xy
// FOG                      0     z         1     NONE   float     z
// COLOR                    0   xyzw        2     NONE   float   xyzw
// DEPTH                    0   xy          3     NONE   float   xy
//
vs_5_0
dcl_globalFlags refactoringAllowed
dcl_input v0.xyz
dcl_input v1.xyzw
dcl_input v2.xy
dcl_output_siv o0.xyzw, position
dcl_output o1.xy
dcl_output o1.z
dcl_output o2.xyzw
dcl_output o3.xy
dcl_temps 1
mad r0.xyz, v0.xyzx, l(0.003125, -0.00416666688, 1.000000, 0.000000), l(-1.000000, 1.000000, 0.000000, 0.000000)
mov r0.w, l(1.000000)
mov o0.xyzw, r0.xyzw
mov o3.xy, r0.zwzz
mov o1.xy, v2.xyxx
mov o1.z, l(0)
mov o2.xyzw, v1.xyzw
ret
// Approximately 8 instruction slots used

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