
cbuffer cbRadiosityXSC : register(b9)
{
  float4 RadiosityInputSliceTexScaleBias : packoffset(c0);
  float4 RadiosityInputSlicePosScaleBias : packoffset(c1);
  float4 RadiosityOutputSliceTexScaleBias : packoffset(c2);
  float4 RadiosityOutputSlicePosScaleBias : packoffset(c3);
  float4 RadiosityInputOutputSliceSize : packoffset(c4);
  float4 RadiosityComputeParams : packoffset(c5);
}

Texture2D<float4> StereoParams : register(t125);

void main(
  uint4 v0 : POSITION0,
  out float4 o0 : TEXCOORD0,
  out float4 o1 : SV_Position0)
{
  float4 r0;
  uint4 bitmask;
  r0.xyzw = v0.xyzw;
  r0.xy = float2(1.000000e+000,1.000000e+000) + r0.xy;
  r0.xy = (uint2)r0.xy;
  r0.xy = r0.xy;
  r0.xyzw = RadiosityInputSliceTexScaleBias.xyxy * r0.xyzw;
  r0.xy = r0.xy * float2(3.906250e-003,3.906250e-003) + RadiosityInputSliceTexScaleBias.zw;
  r0.xy = float2(-5.000000e-001,-5.000000e-001) + r0.xy;
  o1.xy = float2(2.000000e+000,-2.000000e+000) * r0.xy;
  o0.xy = r0.zw * float2(3.906250e-003,3.906250e-003) + RadiosityInputSliceTexScaleBias.zw;
  o0.zw = float2(0.000000e+000,0.000000e+000);
  o1.zw = float2(0.000000e+000,1.000000e+000);
  return;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
//
//
// Buffer Definitions: 
//
// cbuffer cbRadiosityXSC
// {
//
//   float4 RadiosityInputSliceTexScaleBias;// Offset:    0 Size:    16
//   float4 RadiosityInputSlicePosScaleBias;// Offset:   16 Size:    16 [unused]
//   float4 RadiosityOutputSliceTexScaleBias;// Offset:   32 Size:    16 [unused]
//   float4 RadiosityOutputSlicePosScaleBias;// Offset:   48 Size:    16 [unused]
//   float4 RadiosityInputOutputSliceSize;// Offset:   64 Size:    16 [unused]
//   float4 RadiosityComputeParams;     // Offset:   80 Size:    16 [unused]
//
// }
//
//
// Resource Bindings:
//
// Name                                 Type  Format         Dim Slot Elements
// ------------------------------ ---------- ------- ----------- ---- --------
// cbRadiosityXSC                    cbuffer      NA          NA    9        1
//
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// POSITION                 0   xyzw        0     NONE    uint   xyzw
//
//
// Output signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// TEXCOORD                 0   xyzw        0     NONE   float   xyzw
// SV_Position              0   xyzw        1      POS   float   xyzw
//
vs_5_0
dcl_globalFlags refactoringAllowed
dcl_constantbuffer cb9[1], immediateIndexed
dcl_input v0.xyzw
dcl_output o0.xyzw
dcl_output_siv o1.xyzw, position
dcl_temps 1
utof r0.xyzw, v0.xyzw
add r0.xy, r0.xyxx, l(1.000000, 1.000000, 0.000000, 0.000000)
ftou r0.xy, r0.xyxx
utof r0.xy, r0.xyxx
mul r0.xyzw, r0.xyzw, cb9[0].xyxy
mad r0.xy, r0.xyxx, l(0.003906, 0.003906, 0.000000, 0.000000), cb9[0].zwzz
add r0.xy, r0.xyxx, l(-0.500000, -0.500000, 0.000000, 0.000000)
mul o1.xy, r0.xyxx, l(2.000000, -2.000000, 0.000000, 0.000000)
mad o0.xy, r0.zwzz, l(0.003906, 0.003906, 0.000000, 0.000000), cb9[0].zwzz
mov o0.zw, l(0,0,0,0)
mov o1.zw, l(0,0,0,1.000000)
ret 
// Approximately 12 instruction slots used
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
