//
// Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
//
// Modified for NaturalVision by Razed
//
// Buffer Definitions: 
//
// cbuffer im_cbuffer
// {
//
//   float4 TexelSize;                  // Offset:    0 Size:    16 [unused]
//   float4 refMipBlurParams;           // Offset:   16 Size:    16 [unused]
//   float4 GeneralParams0;             // Offset:   32 Size:    16 [unused]
//   float4 GeneralParams1;             // Offset:   48 Size:    16
//   float g_fBilateralCoefficient;     // Offset:   64 Size:     4 [unused]
//   float g_fBilateralEdgeThreshold;   // Offset:   68 Size:     4 [unused]
//   float DistantCarAlpha;             // Offset:   72 Size:     4 [unused]
//   float4 tonemapColorFilterParams0;  // Offset:   80 Size:    16 [unused]
//   float4 tonemapColorFilterParams1;  // Offset:   96 Size:    16 [unused]
//   float4 RenderTexMSAAParam;         // Offset:  112 Size:    16 [unused]
//   float4 RenderPointMapINTParam;     // Offset:  128 Size:    16 [unused]
//
// }
//
//
// Resource Bindings:
//
// Name                                 Type  Format         Dim Slot Elements
// ------------------------------ ---------- ------- ----------- ---- --------
// DiffuseSampler                    sampler      NA          NA    2        1
// NoiseSampler                      sampler      NA          NA    7        1
// DiffuseSampler                    texture  float4          2d    2        1
// NoiseSampler                      texture  float4          2d    7        1
// im_cbuffer                        cbuffer      NA          NA    5        1
//
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// TEXCOORD                 0   xyzw        0     NONE   float   xyzw
// TEXCOORD                 1   xyz         1     NONE   float   xyz 
// SV_Position              0   xyzw        2      POS   float       
// SV_ClipDistance          0   xyzw        3  CLIPDST   float       
//
//
// Output signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Target                0   xyzw        0   TARGET   float   xyzw
//
ps_4_0
dcl_constantbuffer cb5[4], immediateIndexed
dcl_sampler s2, mode_default
dcl_sampler s7, mode_default
dcl_resource_texture2d (float,float,float,float) t2
dcl_resource_texture2d (float,float,float,float) t7
dcl_input_ps linear v0.xyzw
dcl_input_ps linear v1.xyz
dcl_output o0.xyzw
dcl_temps 3
sample r0.xyzw, v0.xyxx, t2.xyzw, s2
mul r0.x, r0.x, r0.x
mul r0.x, r0.x, r0.x
mul r0.xyz, r0.xxxx, v1.xyzx
add r1.xy, v0.zwzz, cb5[3].zzzz
sample r1.xyzw, r1.xyxx, t7.xyzw, s7
add r1.xz, -cb5[3].yywy, l(0.200000e+000, 0.000000e+000, 0.200000e+000, 0.000000e+000)
mad r0.w, r1.y, r1.x, cb5[3].y
mul r0.xyz, r0.wwww, r0.xyzx
mad r1.xy, v0.zwzz, l(1.953125e-003, 1.953125e-003, 0.000000e+000, 0.000000e+000), cb5[3].zzzz
sample r2.xyzw, r1.xyxx, t7.xyzw, s7
mad r0.w, r2.y, r1.z, cb5[3].w
mul o0.xyz, r0.wwww, r0.yxxz
//mul o0.xyz, r0.wwww, r0.xyzx // Yellow r0
mov o0.w, l(1.000000)
ret 
// Approximately 15 instruction slots used
