//shadows
// ---- Created with 3Dmigoto v0.6.164 on Thu Aug  7 16:46:18 2025

cbuffer _Globals : register(b0)
{
  row_major float4x4 g_WorldViewProj : packoffset(c100);
  row_major float3x4 g_WorldTM : packoffset(c104);
  row_major float4x4 g_SMapTM : packoffset(c108);
}



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


void main(
  float3 v0 : POSITION0,
  float3 v1 : NORMAL0,
  float2 v2 : TEXCOORD0,
  out float4 o0 : SV_Position0,
  out float4 o1 : TEXCOORD0,
  out float4 o2 : TEXCOORD1,
  out float4 o3 : TEXCOORD2,
  out float4 o4 : TEXCOORD3,
  out float4 o5 : TEXCOORD4,
  out float4 o6 : TEXCOORD5)
{
	
float4 s = StereoParams.Load(0);
float4 testeo = IniParams.Load(int2(90,0));

  o0.xyz = v0.xyz;
  

  
  o0.w = 1;
  o1.xy = v2.xy;
  o2.xyz = v1.xyz;
  o3.xyzw = g_SMapTM._m00_m01_m02_m03;
  o4.xyzw = g_SMapTM._m10_m11_m12_m13;
  o5.xyzw = g_SMapTM._m20_m21_m22_m23;
  o6.xyzw = g_SMapTM._m30_m31_m32_m33;
  return;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Generated by Microsoft (R) HLSL Shader Compiler 10.1
//
//   using 3Dmigoto v0.6.164 on Thu Aug  7 16:46:18 2025
//
//
// Buffer Definitions:
//
// cbuffer $Globals
// {
//
//   row_major float4x4 g_WorldViewProj;// Offset: 1600 Size:    64 [unused]
//   row_major float3x4 g_WorldTM;      // Offset: 1664 Size:    48 [unused]
//   row_major float4x4 g_SMapTM;       // Offset: 1728 Size:    64
//
// }
//
//
// Resource Bindings:
//
// Name                                 Type  Format         Dim Slot Elements
// ------------------------------ ---------- ------- ----------- ---- --------
// $Globals                          cbuffer      NA          NA    0        1
//
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// POSITION                 0   xyz         0     NONE   float   xyz
// NORMAL                   0   xyz         1     NONE   float   xyz
// 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
// TEXCOORD                 1   xyz         2     NONE   float   xyz
// TEXCOORD                 2   xyzw        3     NONE   float   xyzw
// TEXCOORD                 3   xyzw        4     NONE   float   xyzw
// TEXCOORD                 4   xyzw        5     NONE   float   xyzw
// TEXCOORD                 5   xyzw        6     NONE   float   xyzw
//
vs_5_0
dcl_globalFlags refactoringAllowed
dcl_constantbuffer CB0[112], immediateIndexed
dcl_input v0.xyz
dcl_input v1.xyz
dcl_input v2.xy
dcl_output_siv o0.xyzw, position
dcl_output o1.xy
dcl_output o2.xyz
dcl_output o3.xyzw
dcl_output o4.xyzw
dcl_output o5.xyzw
dcl_output o6.xyzw
mov o0.xyz, v0.xyzx
mov o0.w, l(1.000000)
mov o1.xy, v2.xyxx
mov o2.xyz, v1.xyzx
mov o3.xyzw, cb0[108].xyzw
mov o4.xyzw, cb0[109].xyzw
mov o5.xyzw, cb0[110].xyzw
mov o6.xyzw, cb0[111].xyzw
ret
// Approximately 9 instruction slots used

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