//removed stereo v0
// ---- Created with 3Dmigoto v1.3.16.45 on Sun Dec 13 01:53:28 2020
cbuffer cb1 : register(b1)
{
  float4 cb1[8];
}




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


void main(
  float3 v0 : POSITION0,
  out float4 o0 : SV_POSITION0,
  out float4 o1 : TEXCOORD0,
  out float3 o2 : TEXCOORD1)
{
  float4 r0,r1;
  uint4 bitmask, uiDest;
  float4 fDest;
  
float4 stereo = StereoParams.Load(0);
float4 iniParams = IniParams.Load(0);   
  
//v0.x+=stereo.x;

  r0.xyz = v0.xyz;
  r0.w = 1;
  r1.x = dot(cb1[1].xyzw, r0.xyzw);
  r1.y = dot(cb1[2].xyzw, r0.xyzw);
  r1.z = dot(cb1[3].xyzw, r0.xyzw);
  r1.w = dot(cb1[4].xyzw, r0.xyzw);
  o0.xyzw = r1.xyzw;
  o1.xyzw = r1.xyzw;
  o2.x = dot(cb1[5].xyzw, r0.xyzw);
  o2.y = dot(cb1[6].xyzw, r0.xyzw);
  o2.z = dot(cb1[7].xyzw, r0.xyzw);
  
//o0.x-=stereo.x * (o0.z - stereo.y);  
//  o0=0;
  return;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//   using 3Dmigoto v1.3.16.45 on Sun Dec 13 01:53:28 2020
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// POSITION                 0   xyz         0     NONE   float   xyz
//
//
// Output signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_POSITION              0   xyzw        0      POS   float   xyzw
// TEXCOORD                 0   xyzw        1     NONE   float   xyzw
// TEXCOORD                 1   xyz         2     NONE   float   xyz
//
vs_5_0
dcl_globalFlags refactoringAllowed
dcl_constantbuffer cb1[8], immediateIndexed
dcl_input v0.xyz
dcl_output_siv o0.xyzw, position
dcl_output o1.xyzw
dcl_output o2.xyz
dcl_temps 2
mov r0.xyz, v0.xyzx
mov r0.w, l(1.000000)
dp4 r1.x, cb1[1].xyzw, r0.xyzw
dp4 r1.y, cb1[2].xyzw, r0.xyzw
dp4 r1.z, cb1[3].xyzw, r0.xyzw
dp4 r1.w, cb1[4].xyzw, r0.xyzw
mov o0.xyzw, r1.xyzw
mov o1.xyzw, r1.xyzw
dp4 o2.x, cb1[5].xyzw, r0.xyzw
dp4 o2.y, cb1[6].xyzw, r0.xyzw
dp4 o2.z, cb1[7].xyzw, r0.xyzw
ret
// Approximately 0 instruction slots used

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