// sun halo

cbuffer _Globals : register(b0)
{
  float4x4 matView : packoffset(c0);
  float4x4 matProj : packoffset(c4);
  float3 sunDir : packoffset(c8);
  float3 cameraPos : packoffset(c9);
}



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


void main( 
  uint v0 : SV_VertexID0,
  out float3 o0 : POSITION0)
{
  o0.xyz = sunDir.xyz;
  return;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.20789
//
//   using 3Dmigoto v1.2.21 on Sun Jan 17 17:40:47 2016
//
//
// Buffer Definitions: 
//
// cbuffer $Globals
// {
//
//   float4x4 matView;                  // Offset:    0 Size:    64 [unused]
//   float4x4 matProj;                  // Offset:   64 Size:    64 [unused]
//   float3 sunDir;                     // Offset:  128 Size:    12
//   float3 cameraPos;                  // Offset:  144 Size:    12 [unused]
//
// }
//
//
// Resource Bindings:
//
// Name                                 Type  Format         Dim Slot Elements
// ------------------------------ ---------- ------- ----------- ---- --------
// $Globals                          cbuffer      NA          NA    0        1
//
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_VertexID              0   x           0   VERTID    uint       
//
//
// Output signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// POSITION                 0   xyz         0     NONE   float   xyz 
//
vs_4_0
dcl_constantbuffer cb0[9], immediateIndexed
dcl_output o0.xyz
mov o0.xyz, cb0[8].xyzx
ret 
// Approximately 2 instruction slots used

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