//KH3 HUD VS 7. Some bottom left graphics.
// ---- Created with geo-11 v0.6.198 on Tue Apr 28 00:04:27 2026
cbuffer cb0 : register(b0)
{
  float4 cb0[96];
}




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


void main(
  float4 v0 : ATTRIBUTE0,
  uint v1 : ATTRIBUTE1,
  out float2 o0 : ATTRIBUTE4,
  out float4 o1 : SV_Position0)
{
  float4 r0;
  uint4 bitmask, uiDest;
  float4 fDest;
  
  float4 stereo = StereoParams.Load(0);
  float4 iniparams3 = IniParams.Load(int2(3,0));
  float4 iniparams10 = IniParams.Load(int2(10,0));
  float4 iniparams11 = IniParams.Load(int2(11,0));
  float4 iniparams12 = IniParams.Load(int2(12,0));
  
  bitmask.x = ((~(-1 << 30)) << 2) & 0xffffffff;  r0.x = (((uint)v1.x << 2) & bitmask.x) | ((uint)2 & ~bitmask.x);
  r0.x = (uint)r0.x;
  r0.xy = float2(0.100000001,1.10000002) + r0.xx;
  r0.xy = (int2)r0.xy;
  o0.x = dot(v0.xyzw, cb0[r0.x+0].xyzw);
  o0.y = dot(v0.xyzw, cb0[r0.y+0].xyzw);
  r0.x = (uint)v1.x << 2;
  r0.x = (uint)r0.x;
  r0.xy = float2(0.100000001,1.10000002) + r0.xx;
  r0.xy = (int2)r0.xy;
  o1.x = dot(v0.xyzw, cb0[r0.x+0].xyzw);
  o1.y = dot(v0.xyzw, cb0[r0.y+0].xyzw);
  o1.zw = float2(0,1);
  if (iniparams11.x==0) {
   o1.x+=stereo.x*iniparams10.x;
  }
  return;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//   using 3Dmigoto v0.6.198 on Tue Apr 28 00:04:27 2026
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// ATTRIBUTE                0   xyzw        0     NONE   float   xyzw
// ATTRIBUTE                1   x           1     NONE    uint   x
//
//
// Output signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// ATTRIBUTE                4   xy          0     NONE   float   xy
// SV_Position              0   xyzw        1      POS   float   xyzw
//
vs_5_0
dcl_globalFlags refactoringAllowed
dcl_constantbuffer CB0[96], dynamicIndexed
dcl_input v0.xyzw
dcl_input v1.x
dcl_output o0.xy
dcl_output_siv o1.xyzw, position
dcl_temps 1
bfi r0.x, l(30), l(2), v1.x, l(2)
utof r0.x, r0.x
add r0.xy, r0.xxxx, l(0.100000, 1.100000, 0.000000, 0.000000)
ftoi r0.xy, r0.xyxx
dp4 o0.x, v0.xyzw, cb0[r0.x + 0].xyzw
dp4 o0.y, v0.xyzw, cb0[r0.y + 0].xyzw
ishl r0.x, v1.x, l(2)
utof r0.x, r0.x
add r0.xy, r0.xxxx, l(0.100000, 1.100000, 0.000000, 0.000000)
ftoi r0.xy, r0.xyxx
dp4 o1.x, v0.xyzw, cb0[r0.x + 0].xyzw
dp4 o1.y, v0.xyzw, cb0[r0.y + 0].xyzw
mov o1.zw, l(0,0,0,1.000000)
ret
// Approximately 0 instruction slots used

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