//dust in the sky
// ---- Created with 3Dmigoto v0.6.164 on Thu Dec 25 18:19:02 2025
cbuffer cb3 : register(b3)
{
  float4 cb3[21];
}

cbuffer cb2 : register(b2)
{
  float4 cb2[4];
}

cbuffer cb1 : register(b1)
{
  float4 cb1[7];
}

cbuffer cb0 : register(b0)
{
  float4 cb0[16];
}




// 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 : TEXCOORD0,
  out float2 o2 : TEXCOORD1)
{
  float4 r0,r1,r2;
  uint4 bitmask, uiDest;
  float4 fDest;
  
float4 s = StereoParams.Load(0);
float4 texFilter = IniParams.Load(int2(14,0));
float4 testeo = IniParams.Load(int2(90,0));  

  r0.xyzw = cb2[1].xyzw * v0.yyyy;
  r0.xyzw = cb2[0].xyzw * v0.xxxx + r0.xyzw;
  r0.xyzw = cb2[2].xyzw * v0.zzzz + r0.xyzw;
  r1.xyzw = cb2[3].xyzw + r0.xyzw;
  r0.xy = cb2[3].zy * v0.ww + r0.zy;
  r0.xy = -cb0[6].zx + r0.xy;
  r2.xyzw = cb3[18].xyzw * r1.yyyy;
  r2.xyzw = cb3[17].xyzw * r1.xxxx + r2.xyzw;
  r2.xyzw = cb3[19].xyzw * r1.zzzz + r2.xyzw;
  r1.xyzw = cb3[20].xyzw * r1.wwww + r2.xyzw;
  o0.xyzw = r1.xyzw;
  r0.z = cb1[5].x * r1.y;
  r2.w = 0.5 * r0.z;
  r2.xz = float2(0.5,0.5) * r1.xw;
  o1.zw = r1.zw;
  r0.zw = r2.xw + r2.zz;
  r1.xy = cb1[6].xy * cb0[15].zw;
  o1.xy = r0.zw * cb0[15].xy + r1.xy;
  r0.zw = cb0[6].wy + -cb0[6].zx;
  r0.xy = r0.xy / r0.zw;
  r0.x = saturate(r0.x);
  o2.y = saturate(r0.y);
  o2.x = 1 + -r0.x;
  
o0.x += s.x;  
  
  
  
  
  return;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//   using 3Dmigoto v0.6.164 on Thu Dec 25 18:19:02 2025
//
//
// 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                 0   xyzw        1     NONE   float   xyzw
// TEXCOORD                 1   xy          2     NONE   float   xy
//
vs_4_0
dcl_constantbuffer CB0[16], immediateIndexed
dcl_constantbuffer CB1[7], immediateIndexed
dcl_constantbuffer CB2[4], immediateIndexed
dcl_constantbuffer CB3[21], immediateIndexed
dcl_input v0.xyzw
dcl_output_siv o0.xyzw, position
dcl_output o1.xyzw
dcl_output o2.xy
dcl_temps 3
mul r0.xyzw, v0.yyyy, cb2[1].xyzw
mad r0.xyzw, cb2[0].xyzw, v0.xxxx, r0.xyzw
mad r0.xyzw, cb2[2].xyzw, v0.zzzz, r0.xyzw
add r1.xyzw, r0.xyzw, cb2[3].xyzw
mad r0.xy, cb2[3].zyzz, v0.wwww, r0.zyzz
add r0.xy, r0.xyxx, -cb0[6].zxzz
mul r2.xyzw, r1.yyyy, cb3[18].xyzw
mad r2.xyzw, cb3[17].xyzw, r1.xxxx, r2.xyzw
mad r2.xyzw, cb3[19].xyzw, r1.zzzz, r2.xyzw
mad r1.xyzw, cb3[20].xyzw, r1.wwww, r2.xyzw
mov o0.xyzw, r1.xyzw
mul r0.z, r1.y, cb1[5].x
mul r2.w, r0.z, l(0.500000)
mul r2.xz, r1.xxwx, l(0.500000, 0.000000, 0.500000, 0.000000)
mov o1.zw, r1.zzzw
add r0.zw, r2.zzzz, r2.xxxw
mul r1.xy, cb0[15].zwzz, cb1[6].xyxx
mad o1.xy, r0.zwzz, cb0[15].xyxx, r1.xyxx
add r0.zw, -cb0[6].zzzx, cb0[6].wwwy
div r0.xy, r0.xyxx, r0.zwzz
mov_sat r0.x, r0.x
mov_sat o2.y, r0.y
add o2.x, -r0.x, l(1.000000)
ret
// Approximately 0 instruction slots used

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