//smoke on the sea
// ---- Created with 3Dmigoto v1.3.16 on Mon May 08 23:12:51 2023
cbuffer cb0 : register(b0)
{
  float4 cb0[68];
}




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


void main(
  float2 v0 : ATTRIBUTE0,
  out float4 o0 : TEXCOORD0,
  out float3 o1 : TEXCOORD1,
  out float4 o2 : SV_POSITION0)
{
  float4 r0;
  uint4 bitmask, uiDest;
  float4 fDest;
//float4 stereo = StereoParams.Load(0);
  o0.xy = v0.xy * cb0[67].xy + cb0[67].wz;
  r0.xyz = cb0[57].xyz * v0.yyy;
  r0.xyz = v0.xxx * cb0[56].xyz + r0.xyz;
  o1.xyz = cb0[58].xyz + r0.xyz;
  o2.xy = v0.xy;
  o2.zw = float2(0,1);
//o1.x -= stereo.x;  
 
  return;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//   using 3Dmigoto v1.3.16 on Mon May 08 23:12:51 2023
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// ATTRIBUTE                0   xy          0     NONE   float   xy
//
//
// Output signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// TEXCOORD                 0   xy          0     NONE   float   xy
// TEXCOORD                 1   xyz         1     NONE   float   xyz
// SV_POSITION              0   xyzw        2      POS   float   xyzw
//
vs_5_0
dcl_globalFlags refactoringAllowed
dcl_constantbuffer cb0[68], immediateIndexed
dcl_input v0.xy
dcl_output o0.xy
dcl_output o1.xyz
dcl_output_siv o2.xyzw, position
dcl_temps 1
mad o0.xy, v0.xyxx, cb0[67].xyxx, cb0[67].wzww
mul r0.xyz, v0.yyyy, cb0[57].xyzx
mad r0.xyz, v0.xxxx, cb0[56].xyzx, r0.xyzx
add o1.xyz, r0.xyzx, cb0[58].xyzx
mov o2.xy, v0.xyxx
mov o2.zw, l(0,0,0,1.000000)
ret
// Approximately 0 instruction slots used

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