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

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

cbuffer cb12 : register(b12)
{
  float4 cb12[37];
}


Texture2D<float4> StereoParams : register(t125);
Texture1D<float4> IniParams : register(t120);

void main( 
  float4 v0 : POSITION0,
  float2 v1 : TEXCOORD0,
  float4 v2 : NORMAL0,
  float4 v3 : BINORMAL0,
  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)
{
  float4 r0,r1,r2,r3,r4,r5,r6,r7;
  uint4 bitmask, uiDest;
  float4 fDest;

  r0.w = cb2[0].w + -cb12[35].x;
  r0.xyz = cb2[0].xyz;
  r1.xyz = v0.xyz;
  r1.w = 1;
  r0.x = dot(r0.xyzw, r1.xyzw);
  r2.w = cb2[1].w + -cb12[35].y;
  r2.xyz = cb2[1].xyz;
  r0.y = dot(r2.xyzw, r1.xyzw);
  r2.w = cb2[2].w + -cb12[35].z;
  r2.xyz = cb2[2].xyz;
  r0.z = dot(r2.xyzw, r1.xyzw);
  r0.w = dot(cb2[3].xyzw, r1.xyzw);
  o0.x = dot(cb12[8].xyzw, r0.xyzw);
  o0.y = dot(cb12[9].xyzw, r0.xyzw);
  o0.z = dot(cb12[10].xyzw, r0.xyzw);
  o0.w = dot(cb12[11].xyzw, r0.xyzw);
  o4.xyz = r0.xyz;
  r0.x = v0.w;
  r0.y = v2.w * 2 + -1;
  r0.z = v3.w * 2 + -1;
  r0.w = dot(r0.xyz, r0.xyz);
  r0.w = rsqrt(r0.w);
  r0.xyz = r0.xyz * r0.www;
  r2.x = cb2[0].x;
  r2.y = cb2[1].x;
  r2.z = cb2[2].x;
  r2.w = cb2[3].x;
  r3.x = dot(cb12[0].xyzw, r2.xyzw);
  r4.x = cb2[0].y;
  r4.y = cb2[1].y;
  r4.z = cb2[2].y;
  r4.w = cb2[3].y;
  r3.y = dot(cb12[0].xyzw, r4.xyzw);
  r5.x = cb2[0].z;
  r5.y = cb2[1].z;
  r5.z = cb2[2].z;
  r5.w = cb2[3].z;
  r3.z = dot(cb12[0].xyzw, r5.xyzw);
  o1.x = dot(r3.xyz, r0.xyz);
  r6.xyz = v3.xyz * float3(2,2,2) + float3(-1,-1,-1);
  r0.w = dot(r6.xyz, r6.xyz);
  r0.w = rsqrt(r0.w);
  r6.xyz = r6.xyz * r0.www;
  o1.y = dot(r3.xyz, r6.xyz);
  r7.xyz = v2.xyz * float3(2,2,2) + float3(-1,-1,-1);
  r0.w = dot(r7.xyz, r7.xyz);
  r0.w = rsqrt(r0.w);
  r7.xyz = r7.xyz * r0.www;
  o1.z = dot(r3.xyz, r7.xyz);
  r3.x = dot(cb12[1].xyzw, r2.xyzw);
  r2.x = dot(cb12[2].xyzw, r2.xyzw);
  r3.y = dot(cb12[1].xyzw, r4.xyzw);
  r2.y = dot(cb12[2].xyzw, r4.xyzw);
  r3.z = dot(cb12[1].xyzw, r5.xyzw);
  r2.z = dot(cb12[2].xyzw, r5.xyzw);
  o2.x = dot(r3.xyz, r0.xyz);
  o3.x = dot(r2.xyz, r0.xyz);
  o2.y = dot(r3.xyz, r6.xyz);
  o3.y = dot(r2.xyz, r6.xyz);
  o3.z = dot(r2.xyz, r7.xyz);
  o2.z = dot(r3.xyz, r7.xyz);
  r0.xy = v1.xy * cb1[0].zw + cb1[0].xy;
  o4.w = r0.x;
  o5.w = r0.y;
  r0.w = cb2[4].w + -cb12[36].x;
  r0.xyz = cb2[4].xyz;
  o5.x = dot(r0.xyzw, r1.xyzw);
  r0.w = cb2[5].w + -cb12[36].y;
  r0.xyz = cb2[5].xyz;
  o5.y = dot(r0.xyzw, r1.xyzw);
  r0.w = cb2[6].w + -cb12[36].z;
  r0.xyz = cb2[6].xyz;
  o5.z = dot(r0.xyzw, r1.xyzw);
  return;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//   using 3Dmigoto v1.2.9 on Mon Nov 23 23:56:24 2015
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// POSITION                 0   xyzw        0     NONE   float   xyzw
// TEXCOORD                 0   xy          1     NONE   float   xy  
// NORMAL                   0   xyzw        2     NONE   float   xyzw
// BINORMAL                 0   xyzw        3     NONE   float   xyzw
//
//
// Output signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_POSITION              0   xyzw        0      POS   float   xyzw
// TEXCOORD                 0   xyz         1     NONE   float   xyz 
// TEXCOORD                 1   xyz         2     NONE   float   xyz 
// TEXCOORD                 2   xyz         3     NONE   float   xyz 
// TEXCOORD                 3   xyzw        4     NONE   float   xyzw
// TEXCOORD                 4   xyzw        5     NONE   float   xyzw
//
vs_5_0
dcl_globalFlags refactoringAllowed
dcl_constantbuffer cb12[37], immediateIndexed
dcl_constantbuffer cb1[1], immediateIndexed
dcl_constantbuffer cb2[7], immediateIndexed
dcl_input v0.xyzw
dcl_input v1.xy
dcl_input v2.xyzw
dcl_input v3.xyzw
dcl_output_siv o0.xyzw, position
dcl_output o1.xyz
dcl_output o2.xyz
dcl_output o3.xyz
dcl_output o4.xyzw
dcl_output o5.xyzw
dcl_temps 8
add r0.w, -cb12[35].x, cb2[0].w
mov r0.xyz, cb2[0].xyzx
mov r1.xyz, v0.xyzx
mov r1.w, l(1.000000)
dp4 r0.x, r0.xyzw, r1.xyzw
add r2.w, -cb12[35].y, cb2[1].w
mov r2.xyz, cb2[1].xyzx
dp4 r0.y, r2.xyzw, r1.xyzw
add r2.w, -cb12[35].z, cb2[2].w
mov r2.xyz, cb2[2].xyzx
dp4 r0.z, r2.xyzw, r1.xyzw
dp4 r0.w, cb2[3].xyzw, r1.xyzw
dp4 o0.x, cb12[8].xyzw, r0.xyzw
dp4 o0.y, cb12[9].xyzw, r0.xyzw
dp4 o0.z, cb12[10].xyzw, r0.xyzw
dp4 o0.w, cb12[11].xyzw, r0.xyzw
mov o4.xyz, r0.xyzx
mov r0.x, v0.w
mad r0.y, v2.w, l(2.000000), l(-1.000000)
mad r0.z, v3.w, l(2.000000), l(-1.000000)
dp3 r0.w, r0.xyzx, r0.xyzx
rsq r0.w, r0.w
mul r0.xyz, r0.wwww, r0.xyzx
mov r2.x, cb2[0].x
mov r2.y, cb2[1].x
mov r2.z, cb2[2].x
mov r2.w, cb2[3].x
dp4 r3.x, cb12[0].xyzw, r2.xyzw
mov r4.x, cb2[0].y
mov r4.y, cb2[1].y
mov r4.z, cb2[2].y
mov r4.w, cb2[3].y
dp4 r3.y, cb12[0].xyzw, r4.xyzw
mov r5.x, cb2[0].z
mov r5.y, cb2[1].z
mov r5.z, cb2[2].z
mov r5.w, cb2[3].z
dp4 r3.z, cb12[0].xyzw, r5.xyzw
dp3 o1.x, r3.xyzx, r0.xyzx
mad r6.xyz, v3.xyzx, l(2.000000, 2.000000, 2.000000, 0.000000), l(-1.000000, -1.000000, -1.000000, 0.000000)
dp3 r0.w, r6.xyzx, r6.xyzx
rsq r0.w, r0.w
mul r6.xyz, r0.wwww, r6.xyzx
dp3 o1.y, r3.xyzx, r6.xyzx
mad r7.xyz, v2.xyzx, l(2.000000, 2.000000, 2.000000, 0.000000), l(-1.000000, -1.000000, -1.000000, 0.000000)
dp3 r0.w, r7.xyzx, r7.xyzx
rsq r0.w, r0.w
mul r7.xyz, r0.wwww, r7.xyzx
dp3 o1.z, r3.xyzx, r7.xyzx
dp4 r3.x, cb12[1].xyzw, r2.xyzw
dp4 r2.x, cb12[2].xyzw, r2.xyzw
dp4 r3.y, cb12[1].xyzw, r4.xyzw
dp4 r2.y, cb12[2].xyzw, r4.xyzw
dp4 r3.z, cb12[1].xyzw, r5.xyzw
dp4 r2.z, cb12[2].xyzw, r5.xyzw
dp3 o2.x, r3.xyzx, r0.xyzx
dp3 o3.x, r2.xyzx, r0.xyzx
dp3 o2.y, r3.xyzx, r6.xyzx
dp3 o3.y, r2.xyzx, r6.xyzx
dp3 o3.z, r2.xyzx, r7.xyzx
dp3 o2.z, r3.xyzx, r7.xyzx
mad r0.xy, v1.xyxx, cb1[0].zwzz, cb1[0].xyxx
mov o4.w, r0.x
mov o5.w, r0.y
add r0.w, -cb12[36].x, cb2[4].w
mov r0.xyz, cb2[4].xyzx
dp4 o5.x, r0.xyzw, r1.xyzw
add r0.w, -cb12[36].y, cb2[5].w
mov r0.xyz, cb2[5].xyzx
dp4 o5.y, r0.xyzw, r1.xyzw
add r0.w, -cb12[36].z, cb2[6].w
mov r0.xyz, cb2[6].xyzx
dp4 o5.z, r0.xyzw, r1.xyzw
ret 
// Approximately 0 instruction slots used

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