// AUTOMATICALLY CONVERTED FROM SHADER FIXES 
//
// Generated by Microsoft (R) HLSL Shader Compiler 10.1
//
//   using 3Dmigoto v0.6.89 on Wed Dec 21 12:57:04 2022
//
//
// Buffer Definitions:
//
// cbuffer Constants
// {
//
//   float4 vfuniforms[96];             // Index:    0-95             Components:   384
//
// }
//
//
// Resource Bindings:
//
// Name                                 Type  Format         Dim Slot Elements
// ------------------------------ ---------- ------- ----------- ---- --------
// IniParams                         texture  float4          1d  120        1
// StereoParams                      texture  float4          2d  125        1
// Constants                         cbuffer      NA          NA    0        1
//
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// TEXCOORD                 0   xy          0     NONE   float   xy
// SV_Position              0   xyzw        1     NONE   float   xyzw
// SV_InstanceID            0   x           2   INSTID    uint   x
//
//
// Output signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// TEXCOORD                 0   xyzw        0     NONE   float   xyzw
// TEXCOORD                 1   xyzw        1     NONE   float   xyzw
// TEXCOORD                 2   xy          2     NONE   float   xy
// SV_Position              0   xyzw        3      POS   float   xyzw
// P                        0   x           4  RTINDEX    uint   x
//
vs_5_0
dcl_output_siv o4.x, rendertarget_array_index
dcl_globalFlags refactoringAllowed
dcl_constantbuffer CB0[96], dynamicIndexed
dcl_resource_texture1d (float,float,float,float) t120
dcl_resource_buffer (float,float,float,float) t125
dcl_input v0.xy
dcl_input v1.xyzw
dcl_input_sgv v2.x, instance_id
dcl_output o0.xyzw
dcl_output o1.xyzw
dcl_output o2.xy
dcl_output_siv o3.xyzw, position
dcl_temps 4
ld_indexable(buffer)(float,float,float,float) r3.xyzw, l(0, 0, 0, 0), t125.xyzw
mov o4.x, r3.z
ishl r0.x, v2.x, l(2)
utof r0.x, r0.x
add r0.x, r0.x, l(0.100000)
ftou r0.x, r0.x
mov o0.xyzw, cb0[r0.x + 0].xyzw
bfi r0.xyz, l(30, 30, 30, 0), l(2, 2, 2, 0), v2.xxxx, l(2, 2, 1, 0)
utof r0.xyz, r0.xyzx
add r0.xyz, r0.xyzx, l(0.100000, 1.100000, 0.100000, 0.000000)
ftou r0.xyz, r0.xyzx
mov o1.xyzw, cb0[r0.z + 0].xyzw
mov o2.xy, v0.xyxx
dp4 r0.x, v1.xyzw, cb0[r0.x + 0].xyzw
dp4 r1.y, v1.xyzw, cb0[r0.y + 0].xyzw
ld_indexable(buffer)(float,float,float,float) r0.y, l(0, 0, 0, 0), t125.yxzw
ld_indexable(texture1d)(float,float,float,float) r0.z, l(10, 0, 0, 0), t120.yzxw
mad r0.y, r0.y, r0.z, r0.x
ld_indexable(texture1d)(float,float,float,float) r0.z, l(3, 0, 0, 0), t120.xywz
ne r0.z, r0.z, l(10.000000)
movc r1.x, r0.z, r0.y, r0.x
mov r1.zw, l(0,0,0,1.000000)
add r2.x, -r3.y, r1.w
mul r2.y, r3.x, r3.w
mad r2.x, r2.x, r2.y, r1.x
ne r2.y, l(1.000000), r1.w
movc r1.x, r2.y, r2.x, r1.x
mov o3.xyzw, r1.xyzw
ret
// Approximately 21 instruction slots used
