• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1float4 main(in float4 pos : SV_Position,
2            in float clip[2] : SV_ClipDistance,              // array of scalar float
3            in float cull[2] : SV_CullDistance) : SV_Target0 // array of scalar float
4{
5    return pos + clip[0] + cull[0];
6}
7