//
// Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
//
//   using 3Dmigoto v1.2.67 on Mon Jan 01 13:11:45 2018
//
//
// Buffer Definitions: 
//
// cbuffer $Globals
// {
//
//   float4x4 viewproj;                 // Offset:    0 Size:    64 [unused]
//   float4 cv4;                        // Offset:   64 Size:    16 [unused]
//   float4 cam;                        // Offset:   80 Size:    16 [unused]
//   float4 LightDir;                   // Offset:   96 Size:    16 [unused]
//   float4 Ambient;                    // Offset:  112 Size:    16
//   
//   struct
//   {
//       
//       float4 vDesc;                  // Offset:  128
//       float4 vFogLayerPlane;         // Offset:  144
//       float4 vFogLayerColor;         // Offset:  160
//       float4 vFogLayerSettings;      // Offset:  176
//       float4 vFogColor;              // Offset:  192
//       float4 vFogDistance;           // Offset:  208
//
//   } g_FogDesc;                       // Offset:  128 Size:    96 [unused]
//   float4 TexSteps;                   // Offset:  224 Size:    16 [unused]
//
// }
//
//
// Resource Bindings:
//
// Name                                 Type  Format         Dim Slot Elements
// ------------------------------ ---------- ------- ----------- ---- --------
// mySampler                         sampler      NA          NA    0        1
// AndSampler                        sampler      NA          NA    1        1
// mySkySampler                      sampler      NA          NA    2        1
// AndSampler                        texture  float4          2d    0        1
// mySampler                         texture  float4          2d    1        1
// mySkySampler                      texture  float4          2d    2        1
// $Globals                          cbuffer      NA          NA    0        1
//
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Position              0   xyzw        0      POS   float       
// TEXCOORD                 0   xyz         1     NONE   float   xy  
// TEXCOORD                 1   xyzw        2     NONE   float   xy w
// TEXCOORD                 2   xy          3     NONE   float   xy  
// COLOR                    0   xyzw        4     NONE   float      w
// COLOR                    1   xyzw        5     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[8], immediateIndexed
dcl_sampler s0, mode_default
dcl_sampler s1, mode_default
dcl_sampler s2, mode_default
dcl_resource_texture2d (float,float,float,float) t0
dcl_resource_texture2d (float,float,float,float) t1
dcl_resource_texture2d (float,float,float,float) t2
dcl_input_ps linear v1.xy
dcl_input_ps linear v2.xyw
dcl_input_ps linear v3.xy
dcl_input_ps linear v4.w
dcl_input_ps linear v5.xyz
dcl_output o0.xyzw
dcl_temps 2
div r0.xy, v2.xyxx, v2.wwww
sample r0.xyzw, r0.xyxx, t2.xyzw, s2
mad r0.xyz, -cb0[7].xyzx, cb0[7].xyzx, r0.xyzx
mul r1.xyz, cb0[7].xyzx, cb0[7].xyzx
mad_sat o0.xyz, v5.xyzx, r0.xyzx, r1.xyzx
sample r0.xyzw, v3.xyxx, t0.xyzw, s1
sample r1.xyzw, v1.xyxx, t1.xyzw, s0
mul r0.x, r0.y, r1.x
mul o0.w, r0.x, v4.w
ret 
// Approximately 10 instruction slots used
