//nope- ship, skeletons
// ---- Created with 3Dmigoto v1.2.67 on Sat Jan 06 13:00:34 2018
Texture2D<float4> t0 : register(t0);

SamplerState s0_s : register(s0);

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




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


void main(
  float4 v0 : SV_POSITION0,
  float4 v1 : COLOR0,
  float4 v2 : TEXCOORD0,
  float4 v3 : TEXCOORD1,
  float3 v4 : TEXCOORD2,
  out float4 o0 : SV_Target0)
{
  float4 r0;
  uint4 bitmask, uiDest;
  float4 fDest;

  r0.x = dot(v4.xyz, v4.xyz);
  r0.xyzw = t0.Sample(s0_s, r0.xx).xyzw;
  r0.y = -cb0[7].w + r0.x;
  r0.x = dot(r0.xx, cb0[7].xx);
  r0.y = saturate(cb0[7].z * r0.y);
  r0.x = r0.y * cb0[7].y + r0.x;
  r0.yzw = cb0[8].xxx * v1.xyz;
  r0.yzw = cb0[1].xyz * r0.yzw;
  o0.xyz = r0.yzw * r0.xxx;
  o0.w = 0;
  return;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//   using 3Dmigoto v1.2.67 on Sat Jan 06 13:00:34 2018
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_POSITION              0   xyzw        0      POS   float       
// COLOR                    0   xyzw        1     NONE   float   xyz 
// TEXCOORD                 0   xyz         2     NONE   float       
// TEXCOORD                 1   xyz         3     NONE   float       
// TEXCOORD                 2   xyz         4     NONE   float   xyz 
//
//
// Output signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Target                0   xyzw        0   TARGET   float   xyzw
//
ps_4_0
dcl_constantbuffer cb0[9], immediateIndexed
dcl_sampler s0, mode_default
dcl_resource_texture2d (float,float,float,float) t0
dcl_input_ps linear v1.xyz
dcl_input_ps linear v4.xyz
dcl_output o0.xyzw
dcl_temps 1
dp3 r0.x, v4.xyzx, v4.xyzx
sample r0.xyzw, r0.xxxx, t0.xyzw, s0
add r0.y, r0.x, -cb0[7].w
dp2 r0.x, r0.xxxx, cb0[7].xxxx
mul_sat r0.y, r0.y, cb0[7].z
mad r0.x, r0.y, cb0[7].y, r0.x
mul r0.yzw, v1.xxyz, cb0[8].xxxx
mul r0.yzw, r0.yyzw, cb0[1].xxyz
mul o0.xyz, r0.xxxx, r0.yzwy
mov o0.w, l(0)
ret 
// Approximately 0 instruction slots used

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